KGy SOFT

CircularSortedListTKey, TValue Constructor (IComparerTKey)

KGy SOFT Core Libraries Help

Namespace:  KGySoft.Collections
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0
Syntax

public CircularSortedList(
	IComparer<TKey> comparer
)

Parameters

comparer
Type: System.Collections.GenericIComparerTKey
The IComparerT implementation to use when comparing keys. When , EnumComparer<TEnum>.Comparer will be used for enum TKey types, or Comparer<T>.Default for other types.
Remarks

Every key in a CircularSortedListTKey, TValue must be unique according to the specified comparer.

See Also

Reference