1

Possible Duplicate:
Duplicate keys in .NET dictionaries?

I want to use a kind of dictionary which can support duplicated keys. Is there any builtin support in .Net framework?

Community
  • 1
  • 1
user496949
  • 75,601
  • 138
  • 297
  • 413
  • 3
    Possible duplicate of http://stackoverflow.com/questions/146204/duplicate-keys-in-net-dictionaries – Shamim Hafiz Dec 18 '10 at 05:35
  • @user , if you want a quick fix , you can multiply the key by number which makes the key unique and add it... – kobe Dec 18 '10 at 05:59

2 Answers2

2

Yes, using the Lookup class.

Abe Miessler
  • 75,910
  • 89
  • 276
  • 451
0

No but you can use List it doesnt have key values instead of you can store like List.add( key,value)

Abe Miessler
  • 75,910
  • 89
  • 276
  • 451
Sree
  • 564
  • 5
  • 20