Share via


ValueComparer.Equals(Object, Object) Method

Definition

Compares the two instances to determine if they are equal.

public abstract bool Equals (object left, object right);
public abstract bool Equals (object? left, object? right);
override this.Equals : obj * obj -> bool
Public MustOverride Function Equals (left As Object, right As Object) As Boolean

Parameters

left
Object

The first instance.

right
Object

The second instance.

Returns

true if they are equal; false otherwise.

Implements

Applies to