Author: purushotham216@gmail.com | Posted on: 7/16/2010 8:54:35 AM | Views : 536

hi to all thanks in advance ..Please check this code about threading ..
i am getting  different o/p every time. Please tell me why? just i want to start the thread ,suspend that thread and resume that thread .
namespace ThreadTest
{
    class Program
    {
        static void Main(string[] args)
        {
            Thread th = new Thread(new ThreadStart(new Program().Call));
            th.Start();
            Console.WriteLine("STARTED");
            th.Suspend();
            Console.WriteLine("SUS ...

Go to the complete details ...