SortedList<TKey, TValue>.Comparer Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the IComparer<T> for the sorted list.

Namespace:   System.Collections.Generic
Assembly:  System (in System.dll)

public IComparer<TKey> Comparer { get; }

Retrieving the value of this property is an O(1) operation.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top