Answer: By calling this Thread.Sleep method, you can pause the Thread's execution.
This method takes an integer value which determines how long the thread should sleep.
Example:
Thread.CurrentThread.Sleep(1000)
Asked In: Many Interviews |
Alert Moderator