vote buttons
0
1
beginner
0
intermediate
0
advanced
15-Oct-2014 04:34 UTC
Charlie
82

1 Answers

vote buttons
0
public class ThreadStarter
{
  static void Main() 
  {
    Thread thread = new Thread (new ThreadStart (Func));
    thread.Start();   // Run Func() on the new thread.
  }
 
  static void Func()
  {
    Console.WriteLine ("Hello World");
  }
}
15-Oct-2014 04:36 UTC
Charlie
82