I have a Collection object (based on System.Collections.CollectionBase) but to access the values of objects within that collection, I have to use the index currently. Is it possible to get the values based on the name of the object within the collection?
For example, instead of…
MyCollection[0].Value
… how can I do something along the lines of:
MyCollection["Birthday"].Value
You could use the this[] accessor
Have this getter property on your MyCollectionClass