// Protected constructor
 protected Account(Client client, decimal balance, decimal interest)
 {
     this.Client = client;
     this.Balance = balance;
     this.InterestRate = interest;
 }
示例#2
0
 public Loan(Client client, decimal balance, decimal interest)
     : base(client, balance, interest)
 {
 }
 public Deposit(Client client, decimal balance, decimal interest)
     : base(client, balance, interest)
 {
 }
 public Mortgage(Client client, decimal balance, decimal interest)
     : base(client, balance, interest)
 {
 }