Creates a new instance of CircularSortedListTKey, TValue with empty capacity, that uses the specified comparer.
Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-preview.3
Syntax
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