Method Max
Max(params double[])
Returns the largest of double values in a one-dimensional array.
public static double Max(params double[] values)
Parameters
values
double[]The one-dimensional array to compare.
Returns
- double
The largest double value.
Max(params int[])
Returns the largest of integer values in a one-dimensional array.
public static int Max(params int[] values)
Parameters
values
int[]The one-dimensional array to compare.
Returns
- int
The largest integer value.