IEqualityOperators<TSelf,TOther,TResult>.Equality(TSelf, TOther) Operátor

Definice

Porovná dvě hodnoty a určí rovnost.

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

Parametry

left
TSelf

Hodnota, která se má porovnat s right.

right
TOther

Hodnota, která se má porovnat s left.

Návraty

TResult

true pokud left se rovná hodnotě right, jinak hodnota false.

Platí pro