MemoryExtensions.Max Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| Max<T>(ReadOnlySpan<T>) | |
| Max<T>(ReadOnlySpan<T>, IComparer<T>) |
Max<T>(ReadOnlySpan<T>)
- Origine:
- 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
Parametri di tipo
- T
Parametri
- span
- ReadOnlySpan<T>
Valori restituiti
Si applica a
Max<T>(ReadOnlySpan<T>, IComparer<T>)
- Origine:
- 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
Parametri di tipo
- T
Parametri
- span
- ReadOnlySpan<T>
- comparer
- IComparer<T>