Partilhar via


IComparisonOperators<TSelf,TOther,TResult>.GreaterThan Operador

Definição

Compara dois valores para determinar qual é maior.

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

O valor a ser comparado com right.

right
TOther

O valor a ser comparado com left.

Retornos

TResult

true caso left seja maior que right; do contrário, false.

Aplica-se a