Edit

Share via


IAlternateEqualityComparer<TAlternate,T>.Equals(TAlternate, T) Method

Definition

Determines whether the specified alternate equals the specified other.

public bool Equals (TAlternate alternate, T other);
abstract member Equals : 'Alternate * 'T -> bool
Public Function Equals (alternate As TAlternate, other As T) As Boolean

Parameters

alternate
TAlternate

The instance of type TAlternate to compare.

other
T

The instance of type T to compare.

Returns

true if the specified instances are equal; otherwise, false.

Applies to