A SortedList.IndexOfKey(key) that returns the index of the item where item.key >= key
问题 SortedList<TKey, TValue>.IndexOfKey(key) returns -1 if key is not in the list. Does this mean I have to implement a binary search myself if I want to find the index of the key in the list that is greater or equal to key ? Or is there something out of the box that I overlooked? I want to get the result in O(log(n)) of course, so please no LINQ iterate and filter magic. (In general, I'd like to have something like Java's NavigableMap functionality, i.e. features like efficient iteration over a