Mega Code Archive
Categories
/
C# Tutorial
/
Thread
Get the main thread
using System; using System.Threading; class MainClass { public static void Main() { Thread thrd; // Get the main thread. thrd = Thread.CurrentThread; } }