G
Guest
sIs there anyway to Strongly type an arraylist. I have an arraylist where
object in the arraylist are of a type Structure, say "st" structure. I would
like to reference elements of the structure in the arraylist where "ar" is my
array list and "element 1 is an element in "st" like:
if ar(1).element1= xx then
so I don't have to use Ctype each time i want to get an element of the
arraylist structures.
object in the arraylist are of a type Structure, say "st" structure. I would
like to reference elements of the structure in the arraylist where "ar" is my
array list and "element 1 is an element in "st" like:
if ar(1).element1= xx then
so I don't have to use Ctype each time i want to get an element of the
arraylist structures.