Threading : thread name

Saratvaddilli
Posted by Saratvaddilli under C# category on | Points: 40 | Views : 950
  
public static void Main()
{
Thread Mythread = Thread.CurrentThread;
string strname = Mythread.Name;
Console.WriteLine ("Name of the thread" , strname);
}

Comments or Responses

Login to post response