c# - how to get the maz element in an array code example Example: see max value in array c# using System.Linq; int maxValue = anArray.Max();