Omi Di
2
Q:

c# thread sleep

using System.Threading;

static void Main()
{
  //do stuff
  Thread.Sleep(5000) //will sleep for 5 sec
}
5
Thread.Sleep(2000); //in ms
0

New to Communities?

Join the community