Esempio n. 1
0
        static void Main(string[] args)
        {
            myThread t1 = new myThread("Thread 1", 10);
            myThread t2 = new myThread("Thread 2", 12);
            myThread t3 = new myThread("Thread 3", 5);

            Console.Read();
        }
Esempio n. 2
0
 public static void Main(string[] args)
 {
     myThread t1 = new myThread("Поток 1", 6);
     myThread t2 = new myThread("Поток 2", 3);
     myThread t3 = new myThread("Поток 3", 2);
 }