Condividi tramite


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

Definizione

Confronta due valori per determinare l'uguaglianza.

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

Parametri

left
TSelf

Valore da confrontare con right.

right
TOther

Valore da confrontare con left.

Restituisce

TResult

true se left è uguale a right; in caso contrario, false.

Si applica a