Example #1
0
 private static void runGarage()
 {
     try
     {
         UserInterface userInterface = new UserInterface();
         while (!userInterface.MenuOperations(userInterface.GetMenuSelection()))
         {
         }
     }
     catch (Exception)
     {
         Console.WriteLine("An unexpected error has occured, the program will now terminate!");
         Console.WriteLine("Press 'Enter' to close the program.");
         Console.ReadLine();
     }
 }