Math.Round
Math.Max
Math.Min
Returns the larger of two specified numbers.
Math.Max(val1, val2)
아래 값을 입력하면 예제에 즉시 반영됩니다.
Console
WriteLine
Math
Console.WriteLine(Math.Max(10, 20)); // 20 Console.WriteLine(Math.Max(-5, -1)); // -1