Is there a non-unique-key sorted list generic collection in C#?
Posted
by kdt
on Stack Overflow
See other posts from Stack Overflow
or by kdt
Published on 2009-11-17T09:54:27Z
Indexed on
2010/03/13
16:35 UTC
Read the original article
Hit count: 984
I'm a bit surprised by System.Collections.Generic.SortedList, in that
- It requires me to use
<key, value>
instead of<value>
(comparer) - It only allows on entry per value
These seem quirky in the way I want to use it (although I'm sure they're just right for other situations). Is there another collection that doesn't have these two characteristics?
© Stack Overflow or respective owner