static void Main(string[] args) { string choice = null; string msg = ""; //Switch case for selection inside do-while loop do { choice = UserInterface(); switch (choice.ToUpper()) { case "BANK": BankSelection(); msg = "Press enter to return to start."; break; case "NEWCUSTOMER": CustomerCreation(); msg = "Press enter to return to start."; break; case "BANKACCOUNTS": BankAccounts(); msg = "Press enter to return to start."; break; case "BANKCUSTOMERS": BankCustomers(); msg = "Press enter to return to start."; break; case "CHANGECUSTOMER": ChangeCustomer(); msg = "Press enter to return to start."; break; case "DELETEACCOUNT": _accountView.DeleteAccount(); msg = "Press enter to return to start."; break; case "CUSTOMERACCOUNTS": CustomerAccounts(); msg = "Press enter to return to start."; break; case "TRANSACTION": Transaction(); msg = "Press enter to return to start."; break; case "CUSTOMERTRANSACTIONS": CustomerTransactions(); msg = "Press enter to return to start."; break; case "X": msg = "Shutting down..."; break; default: Console.WriteLine("Invalid selection, please try again."); msg = "Press enter to retry."; break; } Console.WriteLine(msg); Console.ReadLine(); Console.Clear(); }while (choice.ToUpper() != "X"); }