コード例 #1
0
 public void ArrayListString(Int32 numberIterations)
 {
     alString = new ArrayList();
     for (int i = 0; i < numberIterations; ++i)
     {
         alString.Add("a");
         string d = (string)alString[i];
     }
     if (clearData)
     {
         strColl = null;
     }
 }
コード例 #2
0
 public void StronglyTypedString(Int32 numberIterations)
 {
     strColl = new StronglyTyped.String.Collection();
     for (int i = 0; i < numberIterations; ++i)
     {
         strColl.Add("a");
         string d = strColl[i];
     }
     if (clearData)
     {
         strColl = null;
     }
 }