using System;
using System.Threading;
namespace MultithreadingApplication {
public class MainThreadProgram {
public static void Main(string[] args) {
Thread th = Thread.CurrentThread;
th.Name = "MainThread";
Console.WriteLine("This is {0}", th.Name);
Console.ReadLine();
}