示例#1
0
 public void TransferToAccount(decimal value, BaseAccount account)
 {
     this.VerifyFunds(value);
     this.Withdraw(value);
     account.Deposit(value);
 }
 public void TransferToAccount(decimal value, BaseAccount targetAccount)
 {
     this.Withdraw(value);
     targetAccount.Deposit(value);
 }