sleep for time c# code example
Example: c# Sleep
using System.Threading;
static void Main()
{
//do stuff
Thread.Sleep(5000) //will sleep for 5 sec
}
using System.Threading;
static void Main()
{
//do stuff
Thread.Sleep(5000) //will sleep for 5 sec
}