コード例 #1
0
 public Account(TheBank bank, Customer customer, decimal balance, decimal iRate, int mOfContract)
 {
     this.BankName         = bank;
     this.Customer         = customer;
     this.Balance          = balance;
     this.InterestRate     = iRate;
     this.interestRate     = this.InterestRate / 100;
     this.StartDate        = DateTime.Now;
     this.MonthsOfContract = mOfContract;
     accountNumber++;
 }
コード例 #2
0
 public MortgageAccount(TheBank bank, Customer customer, decimal balance, decimal iRate, int mOfContract)
     : base(bank, customer, balance, iRate, mOfContract)
 {
 }