Re: Ordered Name/Value pair
Peter Osucha <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
Dino, Doesn't the Dictionary<> class do what you want? Peter -----Original Message----- From: Discussion relating to the specifics of the C# and Managed C++ languages [mailto:[email protected]] On Behalf Of Dean Cleaver Sent: Tuesday, July 25, 2006 10:13 PM To: [email protected] Subject: [DOTNET-CX] Ordered Name/Value pair I'm having a brain fade here - I need to add a list of keys and objects to a list in a given order. I tried a hashtable, but it changes the order, and the sortedlist will obviously sort them by the key which I don't want. Is there another class that uses Name/Value pairs but doesn't change your order? TIA Dino =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com