开发者

generic class supports duplicated key [duplicate]

This question already has answers here: 开发者_开发百科 Closed 12 years ago.

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜