CollectionExtensionsMaxBySourceType, KeyType Method (IEnumerableSourceType, FuncSourceType, KeyType, IComparerKeyType) |
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static SourceType MaxBy<SourceType, KeyType>(
this IEnumerable<SourceType> source,
Func<SourceType, KeyType> keySelector,
IComparer<KeyType> keyComparer
)
Parameters
- source
- Type: System.Collections.GenericIEnumerableSourceType
- keySelector
- Type: SystemFuncSourceType, KeyType
- keyComparer
- Type: System.Collections.GenericIComparerKeyType
Type Parameters
- SourceType
- KeyType
Return Value
Type:
SourceTypeUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableSourceType. 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