find the min max element of an array c# without built in functions code example Example: see max value in array c# using System.Linq; int maxValue = anArray.Max();