Hexapp Documentation
Hexapp Documentation
Hexapp API
Reference
MicaSystems.Utils
Utils_Linq Class
Utils_Linq Methods
MaxOrZero Method
MaxOrZero(T) Method (List(T), Func(T, Int32))
MaxOrZero(T) Method (List(T), Func(T, Single))
Utils_Linq
MaxOrZero
T
Method (List
T
, Func
T
, Int32
)
Gets the maximum number of a list, where all elements are transformed using a function.
Namespace:
MicaSystems.Utils
Assembly:
MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
Copy
public
static
int
MaxOrZero
<T>(
this
List
<T>
list
,
Func
<T,
int
>
f
)
Parameters
list
Type:
System.Collections.Generic
List
T
f
Type:
System
Func
T
,
Int32
Type Parameters
T
Return Value
Type:
Int32
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
List
T
. 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
Reference
Utils_Linq Class
MaxOrZero Overload
MicaSystems.Utils Namespace
www.hexapp.com
×
Close feedback form
Send us
comments or requests about documentation