Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

Enumerable.Average Method

 

Computes the average of a sequence of numeric values.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

Name Description
System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Decimal>)

Computes the average of a sequence of Decimal values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Double>)

Computes the average of a sequence of Double values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Int32>)

Computes the average of a sequence of Int32 values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Int64>)

Computes the average of a sequence of Int64 values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Nullable<Decimal>>)

Computes the average of a sequence of nullable Decimal values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Nullable<Double>>)

Computes the average of a sequence of nullable Double values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Nullable<Int32>>)

Computes the average of a sequence of nullable Int32 values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Nullable<Int64>>)

Computes the average of a sequence of nullable Int64 values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Nullable<Single>>)

Computes the average of a sequence of nullable Single values.

System_CAPS_pubmethod System_CAPS_static Average(IEnumerable<Single>)

Computes the average of a sequence of Single values.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Decimal>)

Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Double>)

Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Int32>)

Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Int64>)

Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Decimal>>)

Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Double>>)

Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int32>>)

Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int64>>)

Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Single>>)

Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence.

System_CAPS_pubmethod System_CAPS_static Average<TSource>(IEnumerable<TSource>, Func<TSource, Single>)

Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence.

Return to top