System.Math.Math.Max C# (CSharp) Méthode

Max() private méthode

private Max ( long val1, long val2 ) : long
val1 long
val2 long
Résultat long
		public static long Max (long val1, long val2)
		{
			return (val1 > val2)? val1: val2;
		}

Same methods

Math.Math::Max ( byte val1, byte val2 ) : byte
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 ( 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