G
Guest
I am trying to create a base class that contains a collection that MUST be
able to be referenced by both a string key and a positional index. This
collection MUST keep the items in the same order as they are added.
In 2.0, is there a collection that would support this?
The List<> works to keep the order but doesn't allow me to reference the
items by key like the Dictionary<> collection does, but I don't think the
Dictionary collection is guarenteed to keep the items in order.
Any ideas?
Gregory McCallum, MSCD
(e-mail address removed)
able to be referenced by both a string key and a positional index. This
collection MUST keep the items in the same order as they are added.
In 2.0, is there a collection that would support this?
The List<> works to keep the order but doesn't allow me to reference the
items by key like the Dictionary<> collection does, but I don't think the
Dictionary collection is guarenteed to keep the items in order.
Any ideas?
Gregory McCallum, MSCD
(e-mail address removed)