c# system thread sleep code example
Example 1: thread sleep c#
using System;
using System.Threading;
namespace nameHere
{
class Program
{
static void Main(string[] args)
Example 2: c# thread wait
Thread.Sleep(2000); //in ms
using System;
using System.Threading;
namespace nameHere
{
class Program
{
static void Main(string[] args)
Thread.Sleep(2000); //in ms