This will pause execution on the current thread for a specified number of milliseconds.
//2 seconds
System.Threading.Thread.Sleep(2000);
This will pause execution on the current thread for a specified number of milliseconds.
//2 seconds
System.Threading.Thread.Sleep(2000);