コード例 #1
0
 public void CreditInterest()
 {
     for (int i = 0; i < accounts.Count; i++)
     {
         Account a = (Account)accounts[i];
         a.CreditInterest();
     }
 }
コード例 #2
0
 public void CreditInterest()
 {
     for (int j = 0; j < accounts.Count; j++)
     {
         Account a = (Account)accounts[j];
         a.CreditInterest();
     }
 }