B
Bruce Wood
Sorry if this is a repost. My original post appears to have
disappeared.
Is it just me, or is the generic SortedList<T> missing a GetByIndex
method. The old (non-generic) SortedList has a method that, given an
index into the sorted list, will return the value of the item at that
index.
The new SortedList<T> has methods to get the index into the list of a
value, and another methdo to get the index into the list of a key
(just as SortedList had). However, there appears to be no method that
allows you to use that index for anything.
Was this an oversight? Or perhaps it was a conscious decision on the
part of the framework designers? Or have I missed something?
disappeared.
Is it just me, or is the generic SortedList<T> missing a GetByIndex
method. The old (non-generic) SortedList has a method that, given an
index into the sorted list, will return the value of the item at that
index.
The new SortedList<T> has methods to get the index into the list of a
value, and another methdo to get the index into the list of a key
(just as SortedList had). However, there appears to be no method that
allows you to use that index for anything.
Was this an oversight? Or perhaps it was a conscious decision on the
part of the framework designers? Or have I missed something?