The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

# Enumerable.Average Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 | |
---|---|---|

Average(IEnumerable<Decimal>) | Computes the average of a sequence of Decimal values. | |

Average(IEnumerable<Nullable<Decimal>>) | Computes the average of a sequence of nullable Decimal values. | |

Average(IEnumerable<Double>) | Computes the average of a sequence of Double values. | |

Average(IEnumerable<Nullable<Double>>) | Computes the average of a sequence of nullable Double values. | |

Average(IEnumerable<Int32>) | Computes the average of a sequence of Int32 values. | |

Average(IEnumerable<Nullable<Int32>>) | Computes the average of a sequence of nullable Int32 values. | |

Average(IEnumerable<Int64>) | Computes the average of a sequence of Int64 values. | |

Average(IEnumerable<Nullable<Int64>>) | Computes the average of a sequence of nullable Int64 values. | |

Average(IEnumerable<Nullable<Single>>) | Computes the average of a sequence of nullable Single values. | |

Average(IEnumerable<Single>) | Computes the average of a sequence of Single values. | |

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. | |

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. | |

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. | |

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. | |

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. | |

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. | |

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. | |

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. | |

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. | |

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. |

Show: