Example #1
0
        static void Main(string[] args)
        {
            Galaxy s8            = new Galaxy("s8", 100, "T-Mobile", "Do doo doo");
            Nokia  elevenHundred = new Nokia("1100", 50, "Metro PCS", "Ringgg ring ring");

            s8.DisplayInfo();
            s8.Ring();
            s8.Unlock();
            elevenHundred.DisplayInfo();
            elevenHundred.Ring();
            elevenHundred.Unlock();
        }
Example #2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Test Phone App");
            Galaxy Note10 = new Galaxy("Note10", 85, "T-Mobile", "Dooo do doo dooo");
            Nokia  el11   = new Nokia("\01100", 60, "Metro PCS", "Ringgg Ringggggg");

            Console.WriteLine("\01111");
            Note10.DisplayInfo();
            Console.WriteLine(Note10.Ring());
            Console.WriteLine(el11.Unlock());
            el11.DisplayInfo();
        }
Example #3
0
        static void Main(string[] args)
        {
            Galaxy s8 = new Galaxy("s8", 100, "Sprint", "hammmboooonnnniiiinnnngggg");

            Console.WriteLine(s8.Ring());
            Console.WriteLine(s8.Unlock());
            s8.DisplayInfo();
            Nokia Ello = new Nokia("110011", 45, "T-Mobile", "beep boop beep");

            Console.WriteLine(Ello.Ring());
            Console.WriteLine(Ello.Unlock());
            Ello.DisplayInfo();
        }
Example #4
0
        static void Main(string[] args)
        {
            Galaxy s8           = new Galaxy("s8", 100, "T-Mobile", "Dooooo do dooooooooooo doo");
            Nokia  elevenhudred = new Nokia("1100", 60, "Metro PCS", "La-whooOOOOO zzzeee SA-HEEERRRR");

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

            elevenhudred.DisplayInfo();
            System.Console.WriteLine(elevenhudred.Ring());
            System.Console.WriteLine(elevenhudred.Unlock());
        }
Example #5
0
        static void Main(string[] args)
        {
            Galaxy s8            = new Galaxy("S8", 100, "T-Mobile", "Doo do dooo");
            Nokia  elevenHundred = new Nokia("1100", 60, "Metro PCS", "Ringg ring ringgs");

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

            elevenHundred.DisplayInfo();
            System.Console.WriteLine(elevenHundred.Ring());
            System.Console.WriteLine(elevenHundred.Unlock());
            System.Console.WriteLine("");
        }
Example #6
0
        static void Main(string[] args)
        {
            Nokia  elevenHundred = new Nokia("1100", 60, "T-Mobile", "Forty Days by Streelight Manifesto");
            Galaxy S8            = new Galaxy("S9+", 99, "Sprint", "Last Surprise");

            S8.DisplayInfo();
            Console.WriteLine(S8.Ring());
            Console.WriteLine(S8.Unlock());
            Console.WriteLine("");
            elevenHundred.DisplayInfo();
            Console.WriteLine(elevenHundred.Ring());
            Console.WriteLine(elevenHundred.Unlock());
            Console.WriteLine(elevenHundred.Ring());
            Console.WriteLine(Ping.givePing());
        }
Example #7
0
        static void Main(string[] args)
        {
            Galaxy s8            = new Galaxy("Node 5", 100, "AT&T", "BIM BIM BAM");
            Nokia  elevenHundred = new Nokia("1100", 80, "Verizon", "ZIN ZIN ZIN");

            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 #8
0
        static void Main(string[] args)
        {
            Galaxy s10 = new Galaxy("s10", 100, "AT&T", "Ring...Ring.. Ring");
            Nokia  threethreeonezero = new Nokia("3310", 100, "Sprint", "Hello Moto...");

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

            threethreeonezero.DisplayInfo();
            Console.WriteLine(threethreeonezero.Ring());
            Console.WriteLine(threethreeonezero.Unlock());
            Console.WriteLine("");
        }
        static void Main(string[] args)
        {
            Galaxy S8            = new Galaxy("s8", 100, "Verizon", "Dooo doo doo do");
            Nokia  elevenHundred = new Nokia("1100", 60, "T-Mobile", "Ringgg ring ringgg");

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

            elevenHundred.DisplayInfo();
            System.Console.WriteLine(elevenHundred.Ring());
            System.Console.WriteLine(elevenHundred.Unlock());
            System.Console.WriteLine("");
        }
Example #10
0
        static void Main(string[] args)
        {
            Nokia  elevenHundred = new Nokia("1100", 100, "T-Mobile", "Dooo do do do doo do do do doo do do do do");
            Galaxy s8            = new Galaxy("s8", 50, "Sprint", "Riinnnggg Riiiiinggg Riiiinggg");


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

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

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