c# asp.net sleep code example
Example 1: c# Sleep
using System.Threading;
static void Main()
{
//do stuff
Thread.Sleep(5000) //will sleep for 5 sec
}
Example 2: thread sleep vb
Imports System.Threading
Tread.Sleep(1000)
using System.Threading;
static void Main()
{
//do stuff
Thread.Sleep(5000) //will sleep for 5 sec
}
Imports System.Threading
Tread.Sleep(1000)