Esempio n. 1
0
 private static void Main()
 {
     var ticketCatalog = new TicketCatalog();
     while (true)
     {
         string line = Console.ReadLine();
         if (line == null)
         {
             break;
         }
         line = line.Trim();
         string commandResult = ticketCatalog.ExecuteInputCommand(line);
         if (commandResult != null)
         {
             Console.WriteLine(commandResult);
         }
     }
 }