Sequence Sum Method (ISequence BigInteger )A Sandcastle Documented Class Library
Computes the sum of a sequence of BigInteger values. If the source sequence represents an infinite set or series, this will never return!

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public static BigInteger Sum(
	this ISequence<BigInteger> source
)

Parameters

source
Type: Sequences ISequence BigInteger 
A sequence of BigInteger values to calculate the sum of.

Return Value

Type: BigInteger
The sum of the values in the sequence.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISequence BigInteger . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also