IComparisonOperators<TSelf,TOther,TResult>.LessThan Operador

Definición

Compara dos valores para determinar cuál es menor.

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 menor que right; en caso contrario, es false.

Se aplica a