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

Definição

Compara dois valores para determinar a igualdade.

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 se left for igual a right; caso contrário, false.

Aplica-se a