how to make your code wait in c# code example Example: how to wait in c# System.Threading.Thread.Sleep(Milliseconds);