Generic MultiMap class / Set like the STL one... [modified]
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I'm looking for a generic version of a map container that acts similar like the multimap known from C++ / STL .
Dictionary map = new Dictionary(); map.Add("CATEGORY1", new myobject()); map.Add("CATEGORY1", new myobject(); // <-- this is not possible here, // because the Net 2.0 Dictionary only supports // unique keys.
It should support multiple objects per key. Does anybody have a good solution / code for this ? And by the way, I heard of STLNET ? But as I understood, this is only for C++ available ? Or does this work under C# ( I found no documentation abaout this so far). Thanks, Florian -- modified at 5:07 Monday 21st August, 2006 - no suggestions yet, no one missing STL ... ???