Пример #1
0
        static void Main()
        {
            StudentSystem studentSystem = new StudentSystem();

            while (true)
            {
                studentSystem.ParseCommand();
            }
        }
        static void Main()
        {
            var    studentSystem = new StudentSystem();
            string command;

            while ((command = Console.ReadLine()) != "Exit")
            {
                studentSystem.ParseCommand(command, Console.WriteLine);
            }
        }
Пример #3
0
        public static void Main()
        {
            StudentSystem studentSystem = new StudentSystem();
            string        command;

            while ((command = Console.ReadLine()) != "Exit")
            {
                studentSystem.ParseCommand(command);
            }
        }
Пример #4
0
        static void Main()
        {
            StudentSystem studentSystem = new StudentSystem();
            string        input;

            while ((input = Console.ReadLine()) != "Exit")
            {
                studentSystem.ParseCommand(input);
            }
        }
Пример #5
0
        public static void Main()
        {
            var studentSystem = new StudentSystem();
            var inputLine     = string.Empty;

            while ((inputLine = Console.ReadLine()) != "Exit")
            {
                studentSystem.ParseCommand(inputLine, Console.WriteLine);
            }
        }
Пример #6
0
        static void Main(string[] args)
        {
            StudentSystem studentSystem = new StudentSystem();

            while (true)
            {
                string input = Console.ReadLine();
                studentSystem.ParseCommand(input);
            }
        }
Пример #7
0
        static void Main(string[] args)
        {
            StudentSystem studentSystem = new StudentSystem();

            string commandArgs = string.Empty;

            while ((commandArgs = Console.ReadLine()) != "Exit")
            {
                studentSystem.ParseCommand(commandArgs);
            }
        }
Пример #8
0
        static void Main()
        {
            StudentSystem studentSystem = new StudentSystem();

            string args;

            while ((args = Console.ReadLine()) != "Exit")
            {
                studentSystem.ParseCommand(args);
            }
        }