IsNotWithinRange Method
Definition
IsNotWithinRange<T>(T, T, T)
Determines whether the specified x is outside the range of min and max.
public static bool IsNotWithinRange<T>(T x, T min, T max) where T : struct, IConvertible
Parameters
xTThe object to compare.
minTThe minimum value of
x.maxTThe maximum value of
x.
Returns
- bool
trueifxis outside the range ofminandmax; otherwisefalse.
Type Parameters
TThe type of objects to compare.