what is threadsleepthe threads execution can be


What is Thread.Sleep()

The Thread's execution can be paused by calling Thread.Sleep method. This Thread.Sleep() method takes an integer value which  determines how long the thread should sleep. For Example Thread.CurrentThread.Sleep(2000). You can also place a thread into the sleep state by calling Thread.Sleep (System.Threading.Timeout.Infinite) for an indeterminate amount of time .Whenever we want to interrupt this sleep we can call the Thread.Interrupt method.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what is threadsleepthe threads execution can be
Reference No:- TGS0161197

Expected delivery within 24 Hours