Nyelv

MemoryExtensions.Min Metódus

Definíció

Túlterhelések

Min<T>(ReadOnlySpan<T>)

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

Típusparaméterek

T

Paraméterek

Válaszok

T

A következőre érvényes:

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

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

Típusparaméterek

T

Paraméterek

comparer
IComparer<T>

Válaszok

T

A következőre érvényes: