ArrayList modify Items
-
Hi everyone, i have an ArrayList where I have some object from my class Cxxxx. each object has one ArrayList where i would have object of my class Cxx2, but i need that this second ArrayList must be create later, only when i need, so i need to know if exist any way to access some object of Array List and modify it content. Thanks in advance. Salamanca 2002 Capital Cultural Europea, Visitala
-
Hi everyone, i have an ArrayList where I have some object from my class Cxxxx. each object has one ArrayList where i would have object of my class Cxx2, but i need that this second ArrayList must be create later, only when i need, so i need to know if exist any way to access some object of Array List and modify it content. Thanks in advance. Salamanca 2002 Capital Cultural Europea, Visitala
:wtf: What? Did you try the indexer? i.e.
MyObject o = (MyObject) myArray[i];
// Party on o
.
.
.Regards