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; } }
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; } }