IsGreaterThan Method
Definition
IsGreaterThan<T>(T, T)
Determines whether the specified x is greater than y.
public static bool IsGreaterThan<T>(T x, T y) where T : struct, IConvertible
Parameters
xTThe first object to compare.
yTThe second object to compare.
Returns
- bool
trueifxis greater thany; otherwisefalse.
Type Parameters
TThe type of objects to compare.