Computes the average of a sequence of nullable double values.
- source
- A sequence of nullable double values to calculate the average of.
The average of the sequence of values, or null if the source sequence is empty or contains only values that are null.
If the sum of the elements is too large to represent as a double, this method returns positive or negative infinity.
In vbprvb query expression syntax, an Aggregate Into Average() clause translates to an invocation of erload:System.Linq.Enumerable.Average.