generic class supports duplicated key [duplicate]
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?
Yes, using the Lookup class.
No but you can use List it doesnt have key values instead of you can store like List.add( key,value)
精彩评论