`Thread.Sleep()` blocks the current thread and should be avoided in most applications, especially UI (WinForms/WPF) or ASP.NET apps, as it can freeze the interface or waste server threads.
This code for sleep current thread for 10 second.
System.Threading.Thread.Sleep(10);