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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Decimal>) Returns the maximum value in a sequence of Decimal values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Nullable<Decimal>>) Returns the maximum value in a sequence of nullable Decimal values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Double>) Returns the maximum value in a sequence of Double values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Nullable<Double>>) Returns the maximum value in a sequence of nullable Double values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max<TSource>(IEnumerable<TSource>) Returns the maximum value in a generic sequence.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Int32>) Returns the maximum value in a sequence of Int32 values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Nullable<Int32>>) Returns the maximum value in a sequence of nullable Int32 values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Int64>) Returns the maximum value in a sequence of Int64 values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Nullable<Int64>>) Returns the maximum value in a sequence of nullable Int64 values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Nullable<Single>>) Returns the maximum value in a sequence of nullable Single values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max(IEnumerable<Single>) Returns the maximum value in a sequence of Single values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max<TSource>(IEnumerable<TSource>, Func<TSource, Decimal>) Invokes a transform function on each element of a sequence and returns the maximum Decimal value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max<TSource>(IEnumerable<TSource>, Func<TSource, Double>) Invokes a transform function on each element of a sequence and returns the maximum Double value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max<TSource>(IEnumerable<TSource>, Func<TSource, Int32>) Invokes a transform function on each element of a sequence and returns the maximum Int32 value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max<TSource>(IEnumerable<TSource>, Func<TSource, Int64>) Invokes a transform function on each element of a sequence and returns the maximum Int64 value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Max<TSource>(IEnumerable<TSource>, Func<TSource, Single>) Invokes a transform function on each element of a sequence and returns the maximum Single value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft