asp.net.ph

Math.Max Method ( SByte, SByte )

System Namespace   Math Class


Returns the smaller of two 8-bit signed 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 SByte, _
   ByVal val2 As SByte _
) As SByte

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

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

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

Parameters

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

Return Value

Parameter val1 or val2, whichever is smaller.

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