Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Queryable.Average Method

Computes the average of a sequence of numeric values.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Portable Class Library Average(IQueryable<Decimal>) Computes the average of a sequence of Decimal values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Nullable<Decimal>>) Computes the average of a sequence of nullable Decimal values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Double>) Computes the average of a sequence of Double values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Nullable<Double>>) Computes the average of a sequence of nullable Double values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Int32>) Computes the average of a sequence of Int32 values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Nullable<Int32>>) Computes the average of a sequence of nullable Int32 values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Int64>) Computes the average of a sequence of Int64 values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Nullable<Int64>>) Computes the average of a sequence of nullable Int64 values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Nullable<Single>>) Computes the average of a sequence of nullable Single values.
Public method Static member Supported by Portable Class Library Average(IQueryable<Single>) Computes the average of a sequence of Single values.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Decimal>>) Computes the average of a sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Double>>) Computes the average of a sequence of Double values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Int32>>) Computes the average of a sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Int64>>) Computes the average of a sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Decimal>>>) Computes the average of a sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Double>>>) Computes the average of a sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Int32>>>) Computes the average of a sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Int64>>>) Computes the average of a sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Nullable<Single>>>) Computes the average of a sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence.
Public method Static member Supported by Portable Class Library Average<TSource>(IQueryable<TSource>, Expression<Func<TSource, Single>>) Computes the average of a sequence of Single values that is obtained by invoking a projection function on each element of the input sequence.
Top
Show:
© 2015 Microsoft