C#:
Thread.Sleep(TimeSpan.FromSeconds(3));
or with its int overloaded method: Thread.Sleep(millisecondsTimeout: 3000);