IAlternateEqualityComparer<TAlternate,T>.Equals(TAlternate, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.