Partager via


Enumerable.Max Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Decimal>) Returns the maximum value in a sequence of Decimal values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Nullable<Decimal>>) Returns the maximum value in a sequence of nullable Decimal values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Double>) Returns the maximum value in a sequence of Double values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Nullable<Double>>) Returns the maximum value in a sequence of nullable Double values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max<TSource>(IEnumerable<TSource>) Returns the maximum value in a generic sequence.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Int32>) Returns the maximum value in a sequence of Int32 values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Nullable<Int32>>) Returns the maximum value in a sequence of nullable Int32 values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Int64>) Returns the maximum value in a sequence of Int64 values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Nullable<Int64>>) Returns the maximum value in a sequence of nullable Int64 values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Nullable<Single>>) Returns the maximum value in a sequence of nullable Single values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(IEnumerable<Single>) Returns the maximum value in a sequence of Single values.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported 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