SortedList that just accepts IComparable <T>
I have an interface IScriptItemthat implements IComparable<IQueueItem>. In my opinion, it would be enough to have elements IComparableto sort anything. But all I can find is dictionaries, Hashtables and SortedLists, which are actually SortedTrees.
What I'm looking for is a sorted general list that IComparables accepts. I'm looking in the wrong place?
+3
2 answers