예제 #1
0
파일: Program.cs 프로젝트: ErhanGDC/MyWorks
 static void Main(string[] args)
 {
     // Too nice example =)
     TheClub club = new TheClub();
     for (int i = 1; i <= 5; i++) new Thread(TheClub.Enter).Start(i);
     Console.ReadLine();
 }
예제 #2
0
        static void Main(string[] args)
        {
            // Too nice example =)
            TheClub club = new TheClub();

            for (int i = 1; i <= 50; i++)
            {
                new Thread(TheClub.Enter).Start(i);
            }
            Console.ReadLine();
        }