Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
System.Linq
Queryable Class
Queryable Methods
Average Method
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
.NET Framework Class Library
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.

  NameDescription
Public methodStatic memberAverage(IQueryable<(Of <(Decimal>)>))Computes the average of a sequence of Decimal values.
Public methodStatic memberAverage(IQueryable<(Of <(Nullable<(Of <(Decimal>)>)>)>))Computes the average of a sequence of nullable Decimal values.
Public methodStatic memberAverage(IQueryable<(Of <(Double>)>))Computes the average of a sequence of Double values.
Public methodStatic memberAverage(IQueryable<(Of <(Nullable<(Of <(Double>)>)>)>))Computes the average of a sequence of nullable Double values.
Public methodStatic memberAverage(IQueryable<(Of <(Int32>)>))Computes the average of a sequence of Int32 values.
Public methodStatic memberAverage(IQueryable<(Of <(Nullable<(Of <(Int32>)>)>)>))Computes the average of a sequence of nullable Int32 values.
Public methodStatic memberAverage(IQueryable<(Of <(Int64>)>))Computes the average of a sequence of Int64 values.
Public methodStatic memberAverage(IQueryable<(Of <(Nullable<(Of <(Int64>)>)>)>))Computes the average of a sequence of nullable Int64 values.
Public methodStatic memberAverage(IQueryable<(Of <(Nullable<(Of <(Single>)>)>)>))Computes the average of a sequence of nullable Single values.
Public methodStatic memberAverage(IQueryable<(Of <(Single>)>))Computes the average of a sequence of Single values.
Public methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(TSource, Nullable<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(TSource, Nullable<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(TSource, Nullable<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(TSource, Nullable<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(TSource, Nullable<(Of <(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 methodStatic memberAverage<(Of <(TSource>)>)(IQueryable<(Of <(TSource>)>), Expression<(Of <(Func<(Of <(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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker