The method should work like Math.Max()
, but take 3 or more int
parameters.
ベストアンサー1
You could use Enumerable.Max
:
new [] { 1, 2, 3 }.Max();
The method should work like Math.Max()
, but take 3 or more int
parameters.
You could use Enumerable.Max
:
new [] { 1, 2, 3 }.Max();