IShiftOperators<TSelf,TOther,TResult>.LeftShift(TSelf, TOther) Operator

Definition

Shifts a value left by a given amount.

C#
public static abstract TResult operator <<(TSelf value, TOther shiftAmount);

Parameters

value
TSelf

The value that is shifted left by shiftAmount.

shiftAmount
TOther

The amount by which value is shifted left.

Returns

TResult

The result of shifting value left by shiftAmount.

Applies to

Product Versions
.NET 7, 8, 9, 10