Published
- 1 min read
c# Sleep
The solution for this is noted below
c# Sleep
Solution
using System.Threading;
static void Main()
{
//do stuff
Thread.Sleep(5000) //will sleep for 5 sec
}
Try other methods by searching on the site. That is if this doesn’t work