asp.net.ph

Math.Max Method ( UInt16, UInt16 )

System Namespace   Math Class


Returns the larger of two 16-bit unsigned integers.

This method is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[ VB ]
Overloads Public Shared Function Max ( _
   ByVal val1 As UInt16, _
   ByVal val2 As UInt16 _
) As UInt16

[ C# ]
public static ushort Max (
   ushort val1,
   ushort val2
);

[ C++ ]
public: static unsigned short Max (
   unsigned short val1,
   unsigned short val2
);

[ JScript ]
public static function Max (
   val1 : UInt16,
   val2 : UInt16
) : UInt16;

Parameters

val1
The first of two 16-bit unsigned integers to compare.
val2
The second of two 16-bit unsigned integers to compare.

Return Value

Parameter val1 or val2, whichever is larger.

See Also

Math Members   Math.Max Overload List Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note