次の方法で共有


Math.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 larger of two specified numbers.

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(Byte, Byte) Returns the larger of two 8-bit unsigned integers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(Decimal, Decimal) Returns the larger of two decimal numbers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(Double, Double) Returns the larger of two double-precision floating-point numbers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(Int16, Int16) Returns the larger of two 16-bit signed integers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(Int32, Int32) Returns the larger of two 32-bit signed integers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(Int64, Int64) Returns the larger of two 64-bit signed integers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(SByte, SByte) Returns the larger of two 8-bit signed integers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(Single, Single) Returns the larger of two single-precision floating-point numbers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(UInt16, UInt16) Returns the larger of two 16-bit unsigned integers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(UInt32, UInt32) Returns the larger of two 32-bit unsigned integers.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Max(UInt64, UInt64) Returns the larger of two 64-bit unsigned integers.

Top

See Also

Reference