Click or drag to resize

CondensedCollectionExtensionsSum Method (CondensedCollectionNullableDouble)

[This is preliminary documentation and is subject to change.]

Computes the sum of a sequence of nullable double values. Optimized for a CondensedCollection.

Namespace:  Condensed.Linq
Assembly:  Condensed (in Condensed.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
public static Nullable<double> Sum(
	this CondensedCollection<Nullable<double>> source
)

Parameters

source
Type: CondensedCondensedCollectionNullableDouble
A CondensedCollection of nullable double values to calculate the sum of.

Return Value

Type: NullableDouble
The sum of the sequence of values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CondensedCollectionNullableDouble. 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).
Exceptions
ExceptionCondition
ArgumentNullExceptionsource is null
Remarks
See Also