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

Definition

Creates a T that is considered by Equals(TAlternate, T) to be equal to the specified alternate.

C#
public T Create(TAlternate alternate);

Parameters

alternate
TAlternate

The instance of type TAlternate for which an equal T is required.

Returns

T

A T considered equal to the specified alternate.

Applies to

Product Versions
.NET 9, 10