//Visual Basic 2010 Debugging in Visual Studio Instrumenting Applications public class Example1 { public static void Main() { System.Threading.Thread thread1 = new System.Threading.Thread(Test); thread1.Name = "thread1"; System.Threading.Thread thread2 = new System.Threading.Thread(Test); thread2.Name = "thread2"; thread1.Start(1); thread2.Start(2); Console.ReadLine(); } public static void Test(int ID) { Console.WriteLine(("Test " + ID)); } } //Bezoek www.vbvoorbeelden.be voor meer C# voorbeelden. //Copyright - De Wolf / vbvoorbeelden - 2003-2011 - Alle rechten voorbehouden.