Click or drag to resize

ExtensionMethods.MaxTSource Method (IEnumerableTSource, FuncTSource, Currency)

X#

Namespace:  System.Linq
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 STATIC METHOD Max<TSource>(
	SELF source AS IEnumerable<TSource>,
	selector AS Func<TSource, CURRENCY>
)
 AS CURRENCY
Request Example View Source

Parameters

source
Type: IEnumerableTSource
selector
Type: FuncTSource, Currency

Type Parameters

TSource

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 IEnumerableTSource. 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