Ejemplo n.º 1
0
        static void Main(string[] args)
        {
GoAgain:
            System.Console.WriteLine("View: [M]ovie, [S]how, [V]ideo, [E]xit");

            string typePick = System.Console.ReadLine();

            if (typePick == "V" || typePick == "v")
            {
                InputFileVideo input2 = new InputFileVideo();
                input2.Display();
            }
            else if (typePick == "M" || typePick == "m")
            {
                InputFileMovie input = new InputFileMovie();
                input.Display();
            }
            else if (typePick == "S" || typePick == "s")
            {
                InputFileShow input3 = new InputFileShow();
                input3.Display();
            }
            else if (typePick == "E" || typePick == "e")
            {
                System.Environment.Exit(0);
            }
            if (typePick != "E" || typePick != "e")
            {
                goto GoAgain;
            }
        }
Ejemplo n.º 2
0
        public override void Display()
        {
            InputFileShow input = new InputFileShow();

            input.ReadFile();
        }