All pastes #482886 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-11 13:36 UTC
rendered paste body

        static void Main(string[] args) {
            Console.WriteLine("Test");
            for (int i = 0; i < 200; i++) {
                Thread t = new Thread(new ThreadStart(StartT));
                t.Start();
            }
            Console.WriteLine("Press Enter to end program.");
            Console.ReadLine();
        }

        static void StartT() {
            for (int i = 0; i < 83; i++) {
                Console.WriteLine("Test in Thread call " + i);
                Thread.Sleep(5);
            }
        }