Unsorted List

G

Guest

Is there a structure in which I can store name/value pairs that does not
re-order the items? I think I am looking for the equivilant of a Java
MapList.
 
G

Guest

Steve C. Orr said:

As far as I can tell an ArrayList supports single item entries, not
name/value pairs? Am I missing something? It wouldn't be the first time.
If that doesn't suit your needs, there are a variety of collections for you
to choose from, and they are all listed here:
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemCollections.asp?frame=true

Yeah, I have been through these. SortedList and Hashtable both stored
name/value pairs -- or key/value as they write there -- but both reorder the
data entered. DictionaryBase supports pairs, but I can't tell from the docs
if it forces sorting. It also looks like you have to inherit and write a
bunch of methods to use it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top