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