示例#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();
     }
 }