how to get the maximum and minimum values of an array in c# code example
Example 1: see max value in array c#
using System.Linq;
int maxValue = anArray.Max();
Example 2: c# how to check the minimum and maximum of numbers
maxValue = F4 (F4) {
mxm = F4[0];
for (i=0; i<F4.length;>
if (F4[i]>mxm) {
mxm = F4[i];
}
}
return mxm;
};