[This is preliminary documentation and is subject to change.]
Returns the lesser of two values.
Namespace:
ProjectMercury
Assembly:
ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0
Syntax
C# |
---|
public static T Min<T>(
T value1,
T value2
)
where T : IComparable<T>
|
Visual Basic (Declaration) |
---|
Public Shared Function Min(Of T As IComparable(Of T)) ( _
value1 As T, _
value2 As T _
) As T |
Visual C++ |
---|
public:
generic<typename T>
where T : IComparable<T>
static T Min(
T value1,
T value2
) |
Parameters
- value1
- Type: T
Source value.
- value2
- Type: T
Source value.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:ProjectMercury.Calculator.Min``1(``0,``0)"]
Return Value
The lesser value, or value1 if the values are equal.
See Also