MemoryExtensions.Max Método

Definición

Sobrecargas

Max<T>(ReadOnlySpan<T>)

Source:
MemoryExtensions.MinMax.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static T Max(ReadOnlySpan<T> span);
public static T? Max<T>(this ReadOnlySpan<T> span);
static member Max : ReadOnlySpan<'T> -> 'T
<Extension()>
Public Function Max(Of T) (span As ReadOnlySpan(Of T)) As T

Parámetros de tipo

T

Parámetros

Devoluciones

T

Se aplica a

Max<T>(ReadOnlySpan<T>, IComparer<T>)

Source:
MemoryExtensions.MinMax.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static T Max(ReadOnlySpan<T> span, System::Collections::Generic::IComparer<T> ^ comparer);
public static T? Max<T>(this ReadOnlySpan<T> span, System.Collections.Generic.IComparer<T>? comparer);
static member Max : ReadOnlySpan<'T> * System.Collections.Generic.IComparer<'T> -> 'T
<Extension()>
Public Function Max(Of T) (span As ReadOnlySpan(Of T), comparer As IComparer(Of T)) As T

Parámetros de tipo

T

Parámetros

comparer
IComparer<T>

Devoluciones

T

Se aplica a