Terry,
Have you looked at all the collections in System.Collections &
System.Collections.Specialized?
ArrayList is an array like collection that has the flexibility to allow
growing or shrinking lists.
HashTable allow key/value pairs, however the key must be unique.
The NameValueCollection 'stores multiple string values under a single key',
its based on NameObjectCollectionBase, which has an underlying structure of
a hashtable.
If I'm reading your question correctly, you want to use the NameValue
Collection.
Hope this helps
Jay
"Terry Burns" <te*********@BTOpenworld.com> wrote in message
news:be**********@sparta.btinternet.com...
I want to use a collection of value pairs but dont want to be restricted
to unique keys. Does anyone know how I can do this.
I dont want to use an array because I need the flexibility of a collection
to allow growing or shrinking lists.
Regards