How Can We Make A Thread Sleep For Infinite Period ?

user image

Muskan Anand

2 years ago

You can also place a thread into the sleep state for an indeterminate amount of time by calling Thread.Sleep (System.Threading.Timeout.Infinite). To interrupt this sleep you can call the Thread.Interrupt method

Recent Doubts

Close [x]