I have a sorted collection of objects (it can be either SortedList or SortedDictionary, I will use it mainly for reading, so adding performance is not so important). How can I get the i-th value?
So, for example, when I have the numbers 1, 2, 3, 4, 5 in the collection and I want the median (so 3 in this example), how can I do this?
Grzenio
source share