How can i put a delay with C#?
You can use the Thread.Sleep() method to suspend the current thread for X milliseconds:
// Sleep for five secondsSystem.Threading.Thread.Sleep(5000);
You can use the Thread.Sleep() method to suspend the current thread for X milliseconds:
// Sleep for five secondsSystem.Threading.Thread.Sleep(5000);