Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            GSMTest printting = new GSMTest();
            GSM     telefon1  = new GSM("Nokia", "tanq");

            printting.DisplayInfoIphone4S();
            Console.WriteLine("/////////////////////////");
            printting.Print();
            GSMCallHistoryTest.test();
            Console.WriteLine(telefon1.WriteEverything());
        }
Ejemplo n.º 2
0
        static void Main()
        {
            //GSM[] pratka = new GSM[3];
            //pratka[0] = new GSM("Windows Lumia 535", "Microsoft", 120, "Iliya", new Battery("Nokia", 100, 60, BatteryType.NiCd), new Display(10, 2000000));
            //pratka[1] = new GSM("Samsung S7", "Samsung", 200, "Izi", new Battery("Samsung"), new Display(2000000));
            //pratka[2] = new GSM("Lenovo G6", "IBM");
            //
            //foreach (GSM mobileDevice in pratka)
            //{
            //    mobileDevice.Information();
            //}
            //
            //GSM.IPhone4S.Information();

            GSMCallHistoryTest.Test();
        }