Extensions.IsInAscendingOrder<TElement> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static bool IsInAscendingOrder<TElement> (this System.Collections.Generic.IEnumerable<TElement> enumerable, System.Collections.Generic.IComparer<TElement> comparer = default);
static member IsInAscendingOrder : seq<'Element> * System.Collections.Generic.IComparer<'Element> -> bool
<Extension()>
Public Function IsInAscendingOrder(Of TElement) (enumerable As IEnumerable(Of TElement), Optional comparer As IComparer(Of TElement) = Nothing) As Boolean
Type Parameters
- TElement
Parameters
- enumerable
- IEnumerable<TElement>
- comparer
- IComparer<TElement>