c# delay

C#
Thread.Sleep(1000) //one secondThread.Sleep(1000); //one second
//added semicolon
Source

Also in C#: