Junior Collections

What is the time complexity of searching for a key in a SortedList<TKey, TValue>?

Searching by key uses binary search, so the time complexity is O(log n).

Follow:

More from C# Programming Tutorial

All questions for this course