Microsoft Dot Net Master

Microsoft Dot Net Master
Microsoft Dot Net Master

Sunday, May 1, 2011

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).

No comments:

Post a Comment