internal int Withdraw(Account Z, int Amount) { if (ListOfAccount.Contains(Z)) { Z.Subtract(Amount); TotalMoneyInBank = TotalMoneyInBank - Amount; return(Z.Balance); } else { throw new AccountNotFoundException(); } }