# Enumerable.Sum Method

Include Protected Members

Include Inherited Members

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

Computes the sum 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.

## Overload List

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

Sum(IEnumerable<(Of <(Decimal>)>)) | Computes the sum of a sequence of Decimal values. | |

Sum(IEnumerable<(Of <(Nullable<(Of <(Decimal>)>)>)>)) | Computes the sum of a sequence of nullable Decimal values. | |

Sum(IEnumerable<(Of <(Double>)>)) | Computes the sum of a sequence of Double values. | |

Sum(IEnumerable<(Of <(Nullable<(Of <(Double>)>)>)>)) | Computes the sum of a sequence of nullable Double values. | |

Sum(IEnumerable<(Of <(Int32>)>)) | Computes the sum of a sequence of Int32 values. | |

Sum(IEnumerable<(Of <(Nullable<(Of <(Int32>)>)>)>)) | Computes the sum of a sequence of nullable Int32 values. | |

Sum(IEnumerable<(Of <(Int64>)>)) | Computes the sum of a sequence of Int64 values. | |

Sum(IEnumerable<(Of <(Nullable<(Of <(Int64>)>)>)>)) | Computes the sum of a sequence of nullable Int64 values. | |

Sum(IEnumerable<(Of <(Nullable<(Of <(Single>)>)>)>)) | Computes the sum of a sequence of nullable Single values. | |

Sum(IEnumerable<(Of <(Single>)>)) | Computes the sum of a sequence of Single values. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Decimal>)>)) | Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Double>)>)) | Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Int32>)>)) | Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Int64>)>)) | Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Nullable<(Of <(Decimal>)>)>)>)) | Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Nullable<(Of <(Double>)>)>)>)) | Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Nullable<(Of <(Int32>)>)>)>)) | Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Nullable<(Of <(Int64>)>)>)>)) | Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Nullable<(Of <(Single>)>)>)>)) | Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), Func<(Of <(TSource, Single>)>)) | Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. |

Top