Dictionary
does not support such behavior and there's no collection in the base class library providing such behavior. The easiest way is to construct a composite data structure like this:
var data = new Dictionary>();
As the second parameter you should use a collection which provides the qualities you are looking for, i.e. stable order ⇒ List
, fast access HashSet
, etc.