IComparisonOperators<TSelf,TOther,TResult>.GreaterThan Operator

Definition

Compares two values to determine which is greater.

public:
 static TResult operator >(TSelf left, TOther right);
public static abstract TResult operator > (TSelf left, TOther right);
static member ( > ) : 'Self * 'Other -> 'Result
Public Shared Operator > (left As TSelf, right As TOther) As TResult

Parameters

left
TSelf

The value to compare with right.

right
TOther

The value to compare with left.

Returns

TResult

true if left is greater than right; otherwise, false.

Applies to