using System;
using System.Threading;

class ThreadTest
{
    public static void Main(String[] args)
    {
        Thread thread1 = new Thread(new ThreadStart(count));
        Thread thread2 = new Thread(new ThreadStart(count));
        thread1.Start();
        thread2.Start();
    }

    public static void count()
    {
        for (int i = 0; i < 100000000; i++)
        {
            Console.WriteLine(i);
            Thread.Sleep(10);
        }
    }
}

