Friday, 30 September 2011

What does Thread.Sleep() do in threading?


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

No comments:

Post a Comment