C# arraylist access to objects
I have an arraylist where I store my objects. Now in my example, I want to take the arraylist index and use it to assign the object inside to another object of the same. How would I do that?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Amit ChoudharyRank #145 · 15.8K reputationPosted Feb 25, 2010, 7:41 PM EST
you can do it using ObjectCast...
((product)a[1]).superName="XYZ";
Hope it helps you.....