What's Thread.Sleep() in threading ?

Q

.NET INTERVIEW QUESTIONS - What's Thread.Sleep() in threading ?

✍: Guest

A
.NET INTERVIEW QUESTIONS - What's Thread.Sleep() in threading ? 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).

2009-11-24, 4870👍, 0💬