3 using System
.Threading
;
6 public static void Main() {
7 Thread thr
=new Thread(new ThreadStart(foo
.thread
));
11 Console
.WriteLine("Main thread returns");
14 public static void thread() {
15 Console
.WriteLine("Thread running");
17 Console
.WriteLine("Thread running");
19 Console
.WriteLine("Thread running");
21 Console
.WriteLine("Thread running");
23 Console
.WriteLine("Thread running");