Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

Enumerable.Max Method

 

Returns the maximum value in a sequence of values.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

Name Description
System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Decimal>)

Returns the maximum value in a sequence of Decimal values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Double>)

Returns the maximum value in a sequence of Double values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Int32>)

Returns the maximum value in a sequence of Int32 values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Int64>)

Returns the maximum value in a sequence of Int64 values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Nullable<Decimal>>)

Returns the maximum value in a sequence of nullable Decimal values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Nullable<Double>>)

Returns the maximum value in a sequence of nullable Double values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Nullable<Int32>>)

Returns the maximum value in a sequence of nullable Int32 values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Nullable<Int64>>)

Returns the maximum value in a sequence of nullable Int64 values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Nullable<Single>>)

Returns the maximum value in a sequence of nullable Single values.

System_CAPS_pubmethod System_CAPS_static Max(IEnumerable<Single>)

Returns the maximum value in a sequence of Single values.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>)

Returns the maximum value in a generic sequence.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Decimal>)

Invokes a transform function on each element of a sequence and returns the maximum Decimal value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Double>)

Invokes a transform function on each element of a sequence and returns the maximum Double value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Int32>)

Invokes a transform function on each element of a sequence and returns the maximum Int32 value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Int64>)

Invokes a transform function on each element of a sequence and returns the maximum Int64 value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Decimal>>)

Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Double>>)

Invokes a transform function on each element of a sequence and returns the maximum nullable Double value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int32>>)

Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int64>>)

Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Single>>)

Invokes a transform function on each element of a sequence and returns the maximum nullable Single value.

System_CAPS_pubmethod System_CAPS_static Max<TSource>(IEnumerable<TSource>, Func<TSource, Single>)

Invokes a transform function on each element of a sequence and returns the maximum Single value.

System_CAPS_pubmethod System_CAPS_static Max<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TResult>)

Invokes a transform function on each element of a generic sequence and returns the maximum resulting value.

Return to top