C# wait for n seconds
 
5 seconds:
 System.Threading.Thread.Sleep(5000);