private static void Main() { var superQueue = new SuperQueue(); var command = Console.ReadLine(); while (!command.Contains("End")) { superQueue.CommandParse(command); command = Console.ReadLine(); } Console.Write(superQueue.Output); }
private static void Main() { var superQueue = new SuperQueue(); var command = Console.ReadLine(); while (!command.Contains("End")) { superQueue.CommandParse(command); command = Console.ReadLine(); } Console.WriteLine(superQueue.Output); }