public static bool Transfer(BankAccount source, String password, double amount, BankAccount target) { if (source.Withdraw(amount, password)) { return(target.Deposit(amount)); } else { return(false); } }