Why does sorted list have to have a key value pair?

Posted by clawson on Stack Overflow See other posts from Stack Overflow or by clawson
Published on 2010-03-15T12:06:33Z Indexed on 2010/03/15 12:09 UTC
Read the original article Hit count: 299

Filed under:
|

If I just want a sorted list of just dates, integers, or doubles is it really necessary to have to define a SortedList(of Integer, Integer)?

Seems intriguing to me, but may just be trival. I'd prefer just to use a SortedList(of Integer).

(This question is in relation to the .Net generic collections)

© Stack Overflow or respective owner

Related posts about collections

Related posts about .NET