how to find max number in array in c# code example Example: see max value in array c# using System.Linq; int maxValue = anArray.Max();