|
CommonMidT Method
|
Returns the value that is neither the largest nor the smallest.
Namespace: GSFAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public static T Mid<T>(
T value1,
T value2,
T value3
)
where T : Object, IComparable<T>
Public Shared Function Mid(Of T As {Object, IComparable(Of T)}) (
value1 As T,
value2 As T,
value3 As T
) As T
public:
generic<typename T>
where T : Object, IComparable<T>
static T Mid(
T value1,
T value2,
T value3
)
static member Mid :
value1 : 'T *
value2 : 'T *
value3 : 'T -> 'T when 'T : Object and IComparable<'T>
JavaScript does not support generic types or methods.
View SourceParameters
- value1 T
- Value 1.
- value2 T
- Value 2.
- value3 T
- Value 3.
Type Parameters
- T
- Type of the objects passed to and returned from this method.
Return Value
TResult is the value that is neither the largest nor the smallest.
See Also