How to modify an ArrayList
I have a class that's defined like this:
public class MyClass
{
public string member1;
public string member2;
}
and an ArrayList:
ArrayList al = new ArrayList();
This ArrayList has been populated with a number of objects of type MyClass. Based on user input, I will need to search through the ArrayList and modify a specific object.
I have already figured out how to find the object in the ArrayList. But, how do I modify the object inside the ArrayList?
Any help would be appreciated.
Dexterm
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

vitenyi_i50 pointsPosted Apr 7, 2005, 6:06 PM EDT
dexterm3 pointsPosted Apr 7, 2005, 6:21 PM EDT