Thread.sleep in c# code example
Example 1: c# Sleep
using System.Threading;
static void Main()
{
//do stuff
Thread.Sleep(5000) //will sleep for 5 sec
}
Example 2: c# thread sleep
Thread.Sleep(2000); //in ms
Example 3: thread sleep c#
using System;
using System.Threading;
namespace nameHere
{
class Program
{
static void Main(string[] args)