UInt64.IShiftOperators<UInt64,Int32,UInt64>.RightShift Operator

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Shifts a value right by a given amount.

C#
static ulong IShiftOperators<ulong,int,ulong>.operator >>(ulong value, int shiftAmount);

Parameters

value
UInt64

The value that is shifted right by shiftAmount.

shiftAmount
Int32

The amount by which value is shifted right.

Returns

The result of shifting value right by shiftAmount.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10