public static void Main()
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
            CinemaEngine engine = new CinemaEngine();

            StartOperations(engine);
        }
        private static void StartOperations(CinemaEngine engine)
        {
            string line = Console.ReadLine();
            while (line != "end")
            {
                engine.ParseCommand(line);
                line = Console.ReadLine();
            }

            Console.Write(engine.Output);
        }
Пример #3
0
        private static void StartOperations(CinemaEngine engine)
        {
            string line = Console.ReadLine();

            while (line != "end")
            {
                engine.ParseCommand(line);
                line = Console.ReadLine();
            }

            Console.Write(engine.Output);
        }
 public static void Main()
 {
     Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
     CinemaEngine engine = new CinemaEngine();
     StartOperations(engine);
 }