What's Thread.Sleep() in threading

Q

What's Thread.Sleep() in threading ?

✍: Guest

A
Thread's execution can be paused by calling the Thread.Sleep method. This method takes an integer value that determines how long the thread should sleep. Example Thread.CurrentThread.Sleep(2000).

2007-10-22, 4737👍, 0💬