예제 #1
0
 public static void Main()
 {
     Computer.Hardware h1 = new Computer.Hardware();
     // Television.Hardware h2 = new Television.Hardware();
     h1.test();
     // h2.test();
     Console.ReadKey();
 }
예제 #2
0
        static void Main()
        {
            Computer.Hardware    h1 = new Computer.Hardware();
            Television.Hardware1 h2 = new Television.Hardware1();

            h1.test();
            h2.test();
        }