Example of Suspending a thread

Naimishforu
Posted by Naimishforu under C# category on | Points: 40 | Views : 1495
for (int i = 1; i < 10; i++)
{
Console.WriteLine("{0}:Count:{1}", Thread.CurrentThread.Name, i);
Thread.Sleep(500);
}

Comments or Responses

Login to post response