Returns the maximum value in a sequence of nullable double values.
- source
- A sequence of nullable double values to determine the maximum value of.
A value of type Nullable<Double> in C# or Nullable(Of Double) in vbprvb that corresponds to the maximum value in the sequence.
The Enumerable.Max(IEnumerable<Nullable<double>>) method uses the double implementation of IComparable`1 to compare values.
If the source sequence is empty or contains only values that are null, this function returns null.
In vbprvb query expression syntax, an Aggregate Into Max() clause translates to an invocation of erload:System.Linq.Enumerable.Max.