Example #1
0
        static void Main(string[] args)
        {
            Galaxy s8            = new Galaxy("s8", 100, "AT&T", "Trill Trill Trill");
            Nokia  elevenHundred = new Nokia("1100", 60, "Metro PCS", "Ring Ring Ring");

            s8.DisplayInfo();
            Console.WriteLine(s8.Ring());
            Console.WriteLine(s8.Unlock());
            Console.WriteLine(s8.Ring());
            Console.WriteLine("");

            elevenHundred.DisplayInfo();
            Console.WriteLine(elevenHundred.Ring());
            Console.WriteLine(elevenHundred.Unlock());
            Console.WriteLine(elevenHundred.Ring());
            Console.WriteLine("");
        }
Example #2
0
        static void Main(string[] args)
        {
            Galaxy s8  = new Galaxy("S8", 100, "T-Mobile", "DOOO doo DEEE");
            Nokia  ell = new Nokia("1100", 60, "Metro", "REEEEEEeeeEEEEEeeEeEeEEE");

            Console.WriteLine(s8.Ring());
            Console.WriteLine(s8.Unlock());
            s8.DisplayInfo();
            Console.WriteLine(ell.Ring());
            Console.WriteLine(ell.Unlock());
            ell.DisplayInfo();
        }
        static void Main(string[] args)
        {
            Nokia  eleven = new Nokia("1100", 60, "Metro PCS", "Ringgg ring ringgg");
            Galaxy s8     = new Galaxy("s8", 100, "Metro PCS", "Dooo do doo dooo");

            eleven.DisplayInfo();
            System.Console.WriteLine(eleven.Ring());
            System.Console.WriteLine(eleven.Unlock());
            s8.DisplayInfo();
            System.Console.WriteLine(s8.Ring());
            System.Console.WriteLine(s8.Unlock());
        }
Example #4
0
        static void Main(string[] args)
        {
            Galaxy s10 = new Galaxy("s10", 100, "ATT", "Spring");
            Nokia  z5  = new Nokia("z5", 100, "Verizon", "Telephone");

            Console.WriteLine(s10.DisplayInfo());
            Console.WriteLine(s10.Ring());
            Console.WriteLine(s10.Unlock());

            Console.WriteLine(z5.DisplayInfo());
            Console.WriteLine(z5.Ring());
            Console.WriteLine(z5.Unlock());
        }
Example #5
0
        static void Main(string[] args)
        {
            Nokia  nokia   = new Nokia("N83", 76, "AT&T", "Trolololo-lololo");
            Galaxy samsung = new Galaxy("S10", 45, "Verizon", "Ring ring ring");

            nokia.DisplayInfo();
            Console.WriteLine(nokia.Ring());
            Console.WriteLine(nokia.Unlock());

            samsung.DisplayInfo();
            Console.WriteLine(samsung.Ring());
            Console.WriteLine(samsung.Unlock());
        }
Example #6
0
        static void Main(string[] args)
        {
            Galaxy s8    = new Galaxy("s8", 100, "t-Mobile", "Galaxy Rington");
            Nokia  elven = new Nokia("1100", 60, "Metro pcs", "Nokia Rington");

            s8.DisplayInfo();
            Console.WriteLine(s8.Ring());
            Console.WriteLine(s8.Unlock());


            elven.DisplayInfo();
            Console.WriteLine(elven.Ring());
            Console.WriteLine(elven.Unlock());
        }
Example #7
0
        static void Main(string[] args)
        {
            Nokia elevenHundred = new Nokia("33600", 99, "Cingular", "Nokia's dee-de-de, dee-de-de, deeeee");

            elevenHundred.DisplayInfo();
            System.Console.WriteLine(elevenHundred.Ring());
            System.Console.WriteLine(elevenHundred.Unlock());

            Galaxy s8 = new Galaxy("s8", 70, "US Cellular", "Aqua: Nuh, nuh-nuh-nuh-nuh, Nuh");

            s8.DisplayInfo();
            System.Console.WriteLine(s8.Ring());
            System.Console.WriteLine(s8.Unlock());
        }
Example #8
0
        static void Main(string[] args)
        {
            Nokia  nokia  = new Nokia("1100", 60, "Metro PCS", "RING RING RIIIING");
            Galaxy galaxy = new Galaxy("s8", 100, "T-Mobile", "Dooo do doo dooo");

            nokia.DisplayInfo();
            Console.WriteLine(nokia.Ring());
            Console.WriteLine(nokia.Unlock());
            Console.WriteLine("\n");
            galaxy.DisplayInfo();
            Console.WriteLine(galaxy.Ring());
            Console.WriteLine(galaxy.Unlock());
            Console.WriteLine("\n");
        }
Example #9
0
        static void Main(string[] args)
        {
            Galaxy gs8   = new Galaxy("s8", 100, "T-Mobile", "Dooo do doo dooo");
            Nokia  n1100 = new Nokia("1100", 60, "Metro PCS", "Ringgg ring ringgg");

            gs8.DisplayInfo();
            Console.WriteLine(gs8.Ring());
            Console.WriteLine(gs8.Unlock());
            Console.WriteLine();

            n1100.DisplayInfo();
            Console.WriteLine(n1100.Ring());
            Console.WriteLine(n1100.Unlock());
            Console.WriteLine();
        }
Example #10
0
        static void Main(string[] args)
        {
            Galaxy s8           = new Galaxy("s8", 100, "T-mobile", "Dooo do doo dooo");
            Nokia  elvenHundred = new Nokia("1100", 60, "Metro PCS", "Ringgg ring ringgg");

            s8.DisplayInfo();
            System.Console.WriteLine(s8.Ring());
            System.Console.WriteLine(s8.Unlocked());
            System.Console.WriteLine("");

            elvenHundred.DisplayInfo();
            System.Console.WriteLine(elvenHundred.Ring());
            System.Console.WriteLine(elvenHundred.Unlocked());
            System.Console.WriteLine("");
        }
Example #11
0
        static void Main(string[] args)
        {
            Galaxy s8            = new Galaxy("s8", 100, "Verizon", "Dooo do doo dooo");
            Nokia  elevenHundred = new Nokia("1100", 60, "T-Mobile", "Ringgg ring ringgg");

            s8.DisplayInfo();
            Console.WriteLine(s8.Ring());
            Console.WriteLine(s8.Unlock());
            Console.WriteLine("");

            elevenHundred.DisplayInfo();
            Console.WriteLine(elevenHundred.Ring());
            Console.WriteLine(elevenHundred.Unlock());
            Console.WriteLine("");
        }
Example #12
0
        static void Main(string[] args)
        {
            // Console.WriteLine("Hello World!");
            Samsung s10   = new Samsung("Galaxy S10", 100, "T-Mobile", "You got a call, BITCH");
            Nokia   oldie = new Nokia("Oldie Phone", 110, "Verizon", "BEEP BEEP");

            s10.GetInfo();
            System.Console.WriteLine(s10.Ring());
            System.Console.WriteLine(s10.Unlock());
            System.Console.WriteLine("");

            oldie.GetInfo();
            System.Console.WriteLine(oldie.Ring());
            System.Console.WriteLine(oldie.Unlock());
        }
Example #13
0
        static void Main(string[] args)
        {
            Galaxy s10           = new Galaxy("s10", 100, "T-Mobile", "Ring ring");
            Nokia  elevenHundred = new Nokia("1100", 60, "Metro PCS", "Ring Ring Mother Trucker!");

            s10.DisplayInfo();
            Console.WriteLine(s10.Ring());
            Console.WriteLine(s10.Unlock());
            Console.WriteLine("");

            elevenHundred.DisplayInfo();
            Console.WriteLine(elevenHundred.Ring());
            Console.WriteLine(elevenHundred.Unlock());
            Console.WriteLine("");
        }
Example #14
0
        static void Main(string[] args)
        {
            Galaxy s8          = new Galaxy("s8", 100, "T-Mobile", "Boo Ba Boo Ba");
            Nokia  elevHundred = new Nokia("1100", 60, "Metro PCS", "Ring ring riiiiiing");

            System.Console.WriteLine("");
            s8.DisplayInfo();
            System.Console.WriteLine(s8.Ring());
            System.Console.WriteLine(s8.Unlock());
            System.Console.WriteLine("");

            elevHundred.DisplayInfo();
            System.Console.WriteLine(elevHundred.Ring());
            System.Console.WriteLine(elevHundred.Unlock());
            System.Console.WriteLine("");
        }
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            Nokia  eleven = new Nokia("1100", 60, "Metro PCS", "Ringgg ring ringgg");
            Galaxy s8     = new Galaxy("s8", 100, "T-Mobile", "Dooo do doo dooo");

            eleven.DisplayInfo();
            Console.WriteLine(" ");

            Console.WriteLine(eleven.Ring());
            Console.WriteLine(eleven.Unlock());
            Console.WriteLine(" ");

            s8.DisplayInfo();
            Console.WriteLine(" ");

            Console.WriteLine(s8.Ring());
            Console.WriteLine(s8.Unlock());
        }
Example #16
0
        static void Main(string[] args)
        {
            Galaxy s8            = new Galaxy("s8", 100, "T-Mobile", "Dooo do doo dooo");
            Nokia  elevenHundred = new Nokia("1100", 60, "Metro PCS", "Ringgg ring ringgg");
            IPhone x             = new IPhone("X", 80, "AT&T", "Gunggg ging gunggg");

            s8.DisplayInfo();
            Console.WriteLine(s8.Ring());
            Console.WriteLine(s8.Unlock());
            Console.WriteLine("");

            elevenHundred.DisplayInfo();
            Console.WriteLine(elevenHundred.Ring());
            Console.WriteLine(elevenHundred.Unlock());
            Console.WriteLine("");

            x.DisplayInfo();
            Console.WriteLine(x.Ring());
            Console.WriteLine(x.Unlock());
            Console.WriteLine("");
        }