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