System.Math.Math.Max C# (CSharp) Метод

Max() приватный Метод

private Max ( byte val1, byte val2 ) : byte
val1 byte
val2 byte
Результат byte
		public static byte Max (byte val1, byte val2)
		{
			return (val1 > val2)? val1: val2;
		}

Same methods

Math.Math::Max ( decimal val1, decimal val2 ) : decimal
Math.Math::Max ( double val1, double val2 ) : double
Math.Math::Max ( float val1, float val2 ) : float
Math.Math::Max ( int val1, int val2 ) : int
Math.Math::Max ( long val1, long val2 ) : long
Math.Math::Max ( sbyte val1, sbyte val2 ) : sbyte
Math.Math::Max ( short val1, short val2 ) : short
Math.Math::Max ( uint val1, uint val2 ) : uint
Math.Math::Max ( ulong val1, ulong val2 ) : ulong
Math.Math::Max ( ushort val1, ushort val2 ) : ushort