コード例 #1
0
ファイル: Account.cs プロジェクト: Boyan1912/C-Sharp-OOP
 public Account(decimal balance, decimal interest, Customer customer)
 {
     this.Balance = balance;
     this.InterestRate = interest;
     this.customer = customer;
     this.creationDate = DateTime.Now;
 }
コード例 #2
0
 public MortgageAccount(Customer customer, decimal balance, decimal interestRate)
     : base(customer, balance, interestRate)
 {
 }
コード例 #3
0
 public Account(Customer customer, decimal balance, decimal interestRate)
 {
     this.Customer = customer;
     this.Balance = balance;
     this.InterestRate = interestRate;
 }
コード例 #4
0
 public DepositAccount(Customer customer, decimal balance, decimal interestRate)
     : base(customer, balance, interestRate)
 {
 }
コード例 #5
0
 public MortgageAccount(decimal balance, decimal interest, Customer customer)
     : base(balance, interest, customer)
 {
 }
コード例 #6
0
 public DepositAccount(decimal balance, decimal interestRate, Customer customer)
     : base(balance, interestRate, customer)
 {
 }