public static void Main(string[] args) { StudentSystem studentSystem = new StudentSystem(); while (true) { studentSystem.ParseCommand(); } }
public static void Main() { var studentSystem = new StudentSystem(); while (true) { studentSystem.ParseCommand(); } }
private static void Main() { StudentSystem studentSystem = new StudentSystem(); while (true) { studentSystem.ParseCommand(); } }
static void Main() { var studentSystem = new StudentSystem(); string input; while ((input = Console.ReadLine()) != "Exit") { studentSystem.ParseCommand(input, Console.WriteLine); } }
static void Main() { StudentSystem studentSystem = new StudentSystem(); string command; while ((command = Console.ReadLine()) != "Exit") { studentSystem.ParseCommand(command, Console.WriteLine); } }
static void Main() { var studentSystem = new StudentSystem(); string commnad; while ((commnad = Console.ReadLine()) != "Exit") { studentSystem.ParseCommand(commnad); } }
static void Main(string[] args) { StudentSystem studentSystem = new StudentSystem(); string intput = ""; while ((intput = Console.ReadLine()) != "Exit") { studentSystem.ParseCommand(intput); } }
static void Main(string[] args) { string command; var studentSystem = new StudentSystem(); while ((command = Console.ReadLine()) != "Exit") { studentSystem.ParseCommand(command); } }
static void Main(string[] args) { StudentSystem system = new StudentSystem(); while (true) { string command = Console.ReadLine(); system.ParseCommand(command); } }
static void Main(string[] args) { StudentSystem studentSystem = new StudentSystem(); //string input = Console.ReadLine(); while (true) { studentSystem.ParseCommand(); // input = Console.ReadLine(); } }
static void Main(string[] args) { var studentSystem = new StudentSystem(); string command = Console.ReadLine(); while (command != "End") { studentSystem.ParseCommand(command, Console.WriteLine); command = Console.ReadLine(); } }
static void Main() { StudentSystem studentSystem = new StudentSystem(); string[] args = Console.ReadLine()?.Split(); while (args[0] != "Exit") { studentSystem.ParseCommand(args); args = Console.ReadLine()?.Split(); } }
static void Main() { IStudentSystem studentSystem = new StudentSystem(); while (true) { System.Console.Write(studentSystem.ParseCommand()); if (studentSystem.Exit) { break; } } }
public static void Main() { var command = Console.ReadLine(); var studentSystem = new StudentSystem(); while (command != "Exit") { studentSystem.ParseCommand(command, Console.WriteLine); command = Console.ReadLine(); } }
public static void Main() { var studentSystem = new StudentSystem(); while (true) { string command = Console.ReadLine(); if (command == "Exit") { break; } studentSystem.ParseCommand(command, Console.WriteLine); } }
static void Main() { var studentSystem = new StudentSystem(); while (true) { var commandArgs = Console.ReadLine().Split(); if (commandArgs[0] == "Exit") { break; } studentSystem.ParseCommand(commandArgs); } }
static void Main() { // 100/100 - полезен пример!!! // Стар вариант за рефакториране: //StudentSystem studentSystem = new StudentSystem(); //while (true) //{ // studentSystem.ParseCommand(); //} // Нов вариант: var studentSystem = new StudentSystem(); string command; while ((command = Console.ReadLine()) != "Exit") { studentSystem.ParseCommand(command, Console.WriteLine); // !!!! } }
public static void Main() { var studentSystem = new StudentSystem(); studentSystem.ParseCommand(); }