Enumerable.Sum Method (IEnumerable<Nullable<Single>>)
Computes the sum of a sequence of nullable Single values.
Assembly: System.Core (in System.Core.dll)
This method returns zero if source contains no elements.
The result does not include values that are null.
In Visual Basic query expression syntax, an Aggregate Into Sum() clause translates to an invocation of Sum.
The following code example demonstrates how to useto sum the values of a sequence.
Available since 4.5
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1