# Queryable.Average Method

**.NET Framework (current version)**

Note |
---|

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |

Computes the average of a sequence of numeric values.

**Namespace:**System.Linq

**Assembly:**System.Core (in System.Core.dll)

Name | Description | |
---|---|---|

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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