Click or drag to resize

ExtensionMethods.Sum Method (IEnumerableCurrency)

X#

Namespace:  System.Linq
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 STATIC METHOD Sum(
	SELF source AS IEnumerable<CURRENCY>
) AS CURRENCY
Request Example View Source

Parameters

source
Type: IEnumerableCurrency

Return Value

Type: Currency

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableCurrency. 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