Επεξεργασία

Κοινή χρήση μέσω


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

Definition

Compares two values to determine equality.

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

Parameters

left
TSelf

The value to compare with right.

right
TOther

The value to compare with left.

Returns

TResult

true if left is equal to right; otherwise, false.

Applies to