using System;
using System.Threading;
class MainClass
{
public static void DoCount()
{
for ( int i = 0; i < 10; i++ )
{
System.Console.WriteLine( "Reached {0}", i );
}
}
[STAThread]
static void Main(string[] args)
{
Thread t = new Thread( new ThreadStart( DoCount ) );
t.Start();
}
}