I suggest using an array rather than a list since you want to access them by an index. It sounds like you'll know how many there are in advance and they're not being created and destroyed all the time ? An array is the way to go.
Of course you can have your type instances and refer to them from both a list and an array, or even from within instances of another type.
Work out how you want to access data before deciding on how to store it.
Of course you can have your type instances and refer to them from both a list and an array, or even from within instances of another type.
Work out how you want to access data before deciding on how to store it.