public Account(string name, double balance, double interestRate, Customer holder, DateTime startDate)
 {
     this.Name = name;
     this.Balance = balance;
     this.InterestRate = interestRate;
     this.Holder = holder;
     this.StartDate = startDate;
 }
Exemple #2
0
 protected Account(decimal initialBalance, decimal initialInterestRate, Customer initialCustomer)
     : this(initialBalance, initialInterestRate)
 {
     this.Customer = initialCustomer;
 }
 public Loan(string name, double balance, double interestRate, Customer holder, DateTime startDate)
     : base(name, balance, interestRate, holder, startDate)
 {
 }
 public LoanAccount(decimal balance, decimal interestRate, Customer customer)
     : base(balance, interestRate, customer)
 {
 }