Home ยป C# Thread Sleep

C# Thread Sleep

by Online Tutorials Library

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

You may also like