F
Frustrated Newbie via DotNetMonster.com
I need to get the values of an attribute of each of three objects that I've
stored in an arraylist. Each object has three values, and one of those
values is an integer.
I'm able to "get" the values when from the objects when I instatiate an
object from the class I created, so I know each object does have the
attribute in question, and that the attribute has a value.
But now that the objects are in an arraylist, I can't figure out how to
retrieve the values from these objects in the arraylist.
Could someone point me at a strategy for figuring this out?
stored in an arraylist. Each object has three values, and one of those
values is an integer.
I'm able to "get" the values when from the objects when I instatiate an
object from the class I created, so I know each object does have the
attribute in question, and that the attribute has a value.
But now that the objects are in an arraylist, I can't figure out how to
retrieve the values from these objects in the arraylist.
Could someone point me at a strategy for figuring this out?