コード例 #1
0
 public User(CheckingAccount checkingAccount, SavingsAccount savingsAccount, CreditCard creditCard)
 {
     SavingsAccount  = savingsAccount;
     CheckingAccount = checkingAccount;
     CreditCard      = creditCard;
 }
コード例 #2
0
 public User(CheckingAccount checkingAccount, SavingsAccount savingsAccount)
 {
     SavingsAccount  = savingsAccount;
     CheckingAccount = checkingAccount;
 }