Edit

Share via


UInt32.RotateLeft(UInt32, Int32) Method

Definition

Rotates a value left by a given amount.

C#
public static uint RotateLeft(uint value, int rotateAmount);

Parameters

value
UInt32

The value which is rotated left by rotateAmount.

rotateAmount
Int32

The amount by which value is rotated left.

Returns

The result of rotating value left by rotateAmount.

Implements

Applies to

Product Versions
.NET 7, 8, 9