C#: Delay or Stop Execution for a Few Seconds

2/10/2015 11:58:44 PM

This will pause execution on the current thread for a specified number of milliseconds.

//2 seconds
System.Threading.Thread.Sleep(2000);