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;
 }