Returns the maximum value in a sequence of int values.
- source
- A sequence of int values to determine the maximum value of.
The maximum value in the sequence.
The Enumerable.Max(IEnumerable<int>) method uses the int implementation of IComparable`1 to compare values.
In vbprvb query expression syntax, an Aggregate Into Max() clause translates to an invocation of erload:System.Linq.Enumerable.Max.