IEqualityOperators<TSelf,TOther,TResult>.Equality(TSelf, TOther) Operador

Definición

Compara dos valores para determinar la igualdad.

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

true si left es igual a right; en caso contrario, false.

Se aplica a