I am trying to create an array of objects where the index value is a string instead of an int, for example instead of:
I would like to have:Code:array[0] = object1; array[1] = object2;
Please can anyone tell me whether this is possible. I know the syntax for creating a usual array:Code:array[A2] = object1; array[E4] = object2;
ClassName arrayname[arraysize]
But what would be the syntax to create an array with the string indexes.
Thank you for any help you can provide.
Dutch