Before I embark on writing my own, is there a List like construct that also contains a Dictionary like key?
And before someone suggests using a Dictionary instead, the order of items is important to me and Dictionary cannot guarantee a position.
So, I'd like to be able to retrieve the item in the following manner:
int position = 4;
MyObject o = MyCollection[position];
and like this:
string key = "MyKey";
MyObject o = MyCollection[key];
Is there some such thing?