Click or drag to resize

Common.Mid<T> Method

Returns the value that is neither the largest nor the smallest.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.242-beta+5de70bd1c87865d409ebc16b8886196644c0c750
Syntax
public static T Mid<T>(
	T value1,
	T value2,
	T value3
)
where T : Object, IComparable<T>
View Source

Parameters

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

T
Result is the value that is neither the largest nor the smallest.
See Also