Прочетете на английски Редактиране

Споделяне чрез


IEqualityOperators<TSelf,TOther,TResult> Interface

Definition

Defines a mechanism for comparing two values to determine equality.

C#
public interface IEqualityOperators<TSelf,TOther,TResult> where TSelf : IEqualityOperators<TSelf,TOther,TResult>

Type Parameters

TSelf

The type that implements this interface.

TOther

The type that will be compared with TSelf.

TResult

The type that is returned as a result of the comparison.

Derived

Operators

Equality(TSelf, TOther)

Compares two values to determine equality.

Inequality(TSelf, TOther)

Compares two values to determine inequality.

Applies to

Продукт Версии
.NET 7, 8, 9, 10