Edit

Share via


SortedSet<T>.Min Property

Definition

Gets the minimum value in the SortedSet<T>, as defined by the comparer.

public:
 property T Min { T get(); };
public T Min { get; }
public T? Min { get; }
member this.Min : 'T
Public ReadOnly Property Min As T

Property Value

T

The minimum value in the set.

Remarks

If the SortedSet<T> has no elements, then the Min property returns the default value of T.

Applies to