137
C# Threading Example: Sleep() method
The Sleep() method suspends the current thread for the specified milliseconds. So, other threads get the chance to start execution.
Output:
0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9
Next TopicC# Thread Abort