Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Enumerable.Max Method

 

Returns the maximum value in a sequence of values.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Decimal>)

Returns the maximum value in a sequence of Decimal values.

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Double>)

Returns the maximum value in a sequence of Double values.

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Int32>)

Returns the maximum value in a sequence of Int32 values.

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Int64>)

Returns the maximum value in a sequence of Int64 values.

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Nullable<Decimal>>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Nullable<Double>>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Nullable<Int32>>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Nullable<Int64>>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Nullable<Single>>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax(IEnumerable<Single>)

Returns the maximum value in a sequence of Single values.

System_CAPS_pubmethodSystem_CAPS_staticMax<TSource>(IEnumerable<TSource>)

Returns the maximum value in a generic sequence.

System_CAPS_pubmethodSystem_CAPS_staticMax<TSource>(IEnumerable<TSource>, Func<TSource, Decimal>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax<TSource>(IEnumerable<TSource>, Func<TSource, Double>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax<TSource>(IEnumerable<TSource>, Func<TSource, Int32>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax<TSource>(IEnumerable<TSource>, Func<TSource, Int64>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax<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_pubmethodSystem_CAPS_staticMax<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_pubmethodSystem_CAPS_staticMax<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_pubmethodSystem_CAPS_staticMax<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_pubmethodSystem_CAPS_staticMax<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_pubmethodSystem_CAPS_staticMax<TSource>(IEnumerable<TSource>, Func<TSource, Single>)

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

System_CAPS_pubmethodSystem_CAPS_staticMax<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
Show:
© 2016 Microsoft