Ejemplo n.º 1
0
        public static void Main()
        {
            var pearComp  = new PearComputers();
            var samunComp = new SamunComputers();

            Gsm firstPhone  = pearComp.ManufactureGsm();
            Gsm secondPhone = samunComp.ManufactureGsm();

            PrintGsmInfo(firstPhone);
            firstPhone.Start();

            Console.WriteLine();

            PrintGsmInfo(secondPhone);
            secondPhone.Start();
        }
Ejemplo n.º 2
0
        public static void Main()
        {
            var pearComp = new PearComputers();
            var samunComp = new SamunComputers();

            var firstPhone = pearComp.ManufactureGsm();
            var secondPhone = samunComp.ManufactureGsm();

            PrintGsmInfo(firstPhone);
            firstPhone.Start();

            Console.WriteLine();

            PrintGsmInfo(secondPhone);
            secondPhone.Start();
        }