public static void Main()
var thread = new Thread(PrintInAnotherThread);
thread.Start("Another thread");
Console.WriteLine("Hi, I'm printing from the main stream");
static void PrintInAnotherThread(object threadName)
Console.WriteLine("Hi, I'm printing from another thread with name '{0}'", (string)threadName);