Example #1
0
        static void Main(string[] args)
        {
            Netflix parksAndRecreation = new Netflix();

            parksAndRecreation.Name         = "Parks and Recreation";
            parksAndRecreation.Rating       = 4.9m;
            parksAndRecreation.Genre        = "Comedy";
            parksAndRecreation.TotalMinutes = 22;


            parksAndRecreation.ShowMinutesLeft(22, 17);

            Netflix theOffice = new Netflix();

            theOffice.Name   = "The Office";
            theOffice.Rating = 5.0m;
            theOffice.Genre  = "Comedy";

            Netflix bobsBurgers = new Netflix();

            bobsBurgers.Name   = "Bob's Burgers";
            bobsBurgers.Rating = 3.7m;
            bobsBurgers.Genre  = "Cartoon Comedy";

            //parksAndRecreation.GetSuggestion();
            //theOffice.GetSuggestion();
            //bobsBurgers.GetSuggestion();

            //parksAndRecreation.ShowRunTime();
            //parksAndRecreation.WhoWatched("Shelby", "10;:30");


            Console.ReadLine();
        }
Example #2
0
        static void Main(string[] args)
        {
            Netflix blackMirror = new Netflix();

            blackMirror.Rating  = 3;
            blackMirror.Genre   = "Sci-Fi";
            blackMirror.Name    = "Black Mirror";
            blackMirror.Minutes = 48;


            Netflix strangerThings = new Netflix();

            strangerThings.Rating = 5;
            strangerThings.Genre  = "Sci-Fi";
            strangerThings.Name   = "Stranger Things";

            Netflix theMagicians = new Netflix();

            theMagicians.Rating = 5;
            theMagicians.Genre  = "Drama";
            theMagicians.Name   = "The Magicians";


            blackMirror.GetSuggestion();
            blackMirror.ShowRuntime();
            blackMirror.ShowWhoViewed("Karli", "10:30am");
            blackMirror.ShowMinutesLeft(30);


            strangerThings.GetSuggestion();
            theMagicians.GetSuggestion();



            Console.ReadLine();
        }