IComparisonOperators<TSelf,TOther,TResult>.GreaterThan Operador

Definición

Compara dos valores para determinar cuál es mayor.

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

Parámetros

left
TSelf

Valor que se va a comparar con right.

right
TOther

Valor que se va a comparar con left.

Devoluciones

TResult

Es true si left es mayor que right; en caso contrario, es false.

Se aplica a