IBitwiseOperators<TSelf,TOther,TResult> Interface

Definition

Defines a mechanism for performing bitwise operations over two values.

public interface IBitwiseOperators<TSelf,TOther,TResult> where TSelf : IBitwiseOperators<TSelf,TOther,TResult>

Type Parameters

TSelf

The type that implements this interface.

TOther

The type that is used in the operation with TSelf.

TResult

The type that contains the result of TSelf op TOther.

Derived

Operators

BitwiseAnd(TSelf, TOther)

Computes the bitwise-and of two values.

BitwiseOr(TSelf, TOther)

Computes the bitwise-or of two values.

ExclusiveOr(TSelf, TOther)

Computes the exclusive-or of two values.

OnesComplement(TSelf)

Computes the ones-complement representation of a given value.

Applies to

Product Versions
.NET 7, 8, 9