Example

using System;
using System.Threading;

namespace Samples
{
  public class ThreadStartSample
  {
    public static void StartHere()
    {
      Console.WriteLine("Thread starting");
      Thread.Sleep(1000);
      Console.WriteLine("Thread finishing");
    }
    public static void Main()
    {
      Console.WriteLine("Main starting");
      Thread t = new Thread(
                   new ThreadStart(StartHere));
      t.Start();
      t.Join();
      Console.WriteLine("Main finishing");
    }
  }
}
The output is
Main starting
Thread starting
Thread finishing
Main finishing

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.