Edit

Share via


Byte.RotateRight(Byte, Int32) Method

Definition

Rotates a value right by a given amount.

C#
public static byte RotateRight(byte value, int rotateAmount);

Parameters

value
Byte

The value which is rotated right by rotateAmount.

rotateAmount
Int32

The amount by which value is rotated right.

Returns

The result of rotating value right by rotateAmount.

Implements

Applies to

Product Versions
.NET 7, 8, 9