public DepositAccount(decimal interestRate, Customer owner)
     : base(interestRate, owner)
 {
 }
예제 #2
0
 public MortgageAccount(decimal interestRate, Customer owner, decimal loan)
     : base(interestRate, owner)
 {
     //the loans account in banks are negative :)
     this.Balance = loan * (-1);
 }
예제 #3
0
 public Account(decimal interestRate, Customer owner)
 {
     this.InterestRate = interestRate;
     this.Owner = owner;
 }