Esempio n. 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++;
 }
Esempio n. 2
0
 public DepositAccount(TheBank bank, Customer customer, decimal balance, decimal iRate, int mOfContract)
     : base(bank, customer, balance, iRate, mOfContract)
 {
 }