protected Account(Customer customer, decimal balance, decimal interestRate, int duration) { this.Customer = customer; this.Balance = balance; this.InterestRate = interestRate; this.Duration = duration; }
public Mortgage(Customer customer, decimal balance, decimal interestRate, int duration) : base(customer, balance, interestRate, duration) { }