Edit

Share via


IShiftOperators<TSelf,TOther,TResult> Interface

Definition

Defines a mechanism for shifting a value by another value.

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

Type Parameters

TSelf

The type that implements this interface.

TOther

The type used to specify the amount by which TSelf should be shifted.

TResult

The type that contains the result of shifting TSelf by TResult.

Derived

Operators

LeftShift(TSelf, TOther)

Shifts a value left by a given amount.

RightShift(TSelf, TOther)

Shifts a value right by a given amount.

UnsignedRightShift(TSelf, TOther)

Shifts a value right by a given amount.

Applies to

Product Versions
.NET 7, 8, 9