Removes all elements from a SortedList object.
Assembly: mscorlib (in mscorlib.dll)
Count is set to zero and references to other objects from elements of the collection are also released.
Capacity remains unchanged. To reset the capacity of the SortedList object, call TrimToSize or set the Capacity property directly. Trimming an empty SortedList sets the capacity of the SortedList to the default capacity.
This method is an O(n) operation, where n is Count.