3 using System.Threading;
6 private void Thread_func() {
7 Console.WriteLine("In a thread!");
10 public static int Main () {
11 Console.WriteLine ("Hello, World!");
12 Test test = new Test();
13 Thread thr=new Thread(new ThreadStart(test.Thread_func));
15 Console.WriteLine("In the main line!");