basically i want a collection object that i can dynamically increase size of which will allow duplicate keys. any ideas if this is possible.
DataTable You can also insert your own custom objects to it. Though in such case the key field wouldn't be a primary key but basically it would be possible.
Allowing duplicate keys violates the concept of a key/value collection. Have you considered the NameValueCollection class that while not allowing duplicate keys does allow multiple values under the same key? When you reference the Item property for a particular key, the a comma separated string of values for that key is returned.
Bill, WESNet Designs
I don't know but can you also use HashTable for this purpose.
Wanna get high!