ExtensionMethods.MaxTSource Method (IEnumerableTSource, FuncTSource, Currency) | |
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
public static Currency Max<TSource>(
this IEnumerable<TSource> source,
Func<TSource, Currency> selector
)
Request Example
View SourceParameters
- source
- Type: IEnumerableTSource
- selector
- Type: FuncTSource, Currency
Type Parameters
- TSource
Return Value
Type:
CurrencyUsage 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