Saturday, 27 April 2013

What's Thread.Sleep() in threading ? | ASP.Net interview questions

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.
Ex:
 Thread.CurrentThread.Sleep(2000).

No comments: