Enumerable..::.Sum Method Home
This page is specific to:.NET Framework Version:3.5Silverlight 34.0
.NET Framework Class Library
Enumerable..::.Sum Method

Computes the sum of a sequence of numeric values.

Overload List

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Decimal>)>))Computes the sum of a sequence of Decimal values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Double>)>))Computes the sum of a sequence of Double values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Int32>)>))Computes the sum of a sequence of Int32 values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Int64>)>))Computes the sum of a sequence of Int64 values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Nullable<(Of <(Decimal>)>)>)>))Computes the sum of a sequence of nullable Decimal values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Nullable<(Of <(Double>)>)>)>))Computes the sum of a sequence of nullable Double values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Nullable<(Of <(Int32>)>)>)>))Computes the sum of a sequence of nullable Int32 values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Nullable<(Of <(Int64>)>)>)>))Computes the sum of a sequence of nullable Int64 values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Nullable<(Of <(Single>)>)>)>))Computes the sum of a sequence of nullable Single values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum(IEnumerable<(Of <(Single>)>))Computes the sum of a sequence of Single values.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkSum<(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
See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View