> Unless a project particularly interests me, I'll try to see if someone else
> has created what I need rather than doing it myself. Such is the case now.
[quoted text clipped - 4 lines]
> want this list to contain a value and always return those values in sorted
> order.
Yes, I've done it. In fact, it was doing slightly more than that - it
was keeping the length at a certain maximum too. I was picking the best
n possibilities out of *lots*, and didn't want them to all have to be
in memory.
I just started from scratch - didn't even implement all of IList<T> as
I didn't really need to. Just had an indexer, enumerator, Count, Add,
and a Last property which returned null or the last entry, depending on
whether or not it had hit the maximum value.
All I did was use BinarySearch on the (private) list in the call to
Add, in order to find the right insert point.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too