public static void SwitchAction(string action) { switch (action) { case "Deposit": Console.WriteLine("How much would you like to deposit?"); int depAmount = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Processing deposit."); MakeDeposit(depAmount); Console.WriteLine("Deposit Complete."); break; case "Withdraw": Console.WriteLine("How much would you like to withdraw?"); var withAmount = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Processing withdrawal."); MakeWithdrawal(withAmount); Console.WriteLine("Withdrawal Complete."); break; case "Transfer": Console.WriteLine("To Which Account would you like to transfer?"); int transferAccount = ReturnTransferAccount(); int transferAmount = TransferCheck(); MakeTransfer(transferAccount, transferAmount); break; case "Transaction History": TransactionHistory(); break; case "Close": // Function to remove operating account from Program list break; case "Payment": Console.WriteLine("How much would you like to pay?"); var paymentAmount = Convert.ToInt32(Console.ReadLine()); MakeDeposit(paymentAmount); break; default: ActionMenu.DisplayActionMenu(operatingAccount); break; } }