hey guys,
im wondering if there is any way in VS2005 to create objects of a class, using a variable as the name for the object?
something like:
for var1 as integer = 0 to 10
dim object(var1) as classname
next
so i can create 10 objects of the 'classname' class?
e.g. object1, object2, object3, etc
any ideas?
im wondering if there is any way in VS2005 to create objects of a class, using a variable as the name for the object?
something like:
for var1 as integer = 0 to 10
dim object(var1) as classname
next
so i can create 10 objects of the 'classname' class?
e.g. object1, object2, object3, etc
any ideas?