Edit

Share via


IUnaryNegationOperators<TSelf,TResult> Interface

Definition

Defines a mechanism for computing the unary negation of a value.

C#
public interface IUnaryNegationOperators<TSelf,TResult> where TSelf : IUnaryNegationOperators<TSelf,TResult>

Type Parameters

TSelf

The type that implements this interface.

TResult

The type that contains the result of negating TSelf.

Derived

Operators

CheckedUnaryNegation(TSelf)

Computes the checked unary negation of a value.

UnaryNegation(TSelf)

Computes the unary negation of a value.

Applies to

Product Versions
.NET 7, 8, 9