Int32.RotateRight(Int32, Int32) Method
In this article
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.
Rotates a value right by a given amount.
public:
static int RotateRight(int value, int rotateAmount) = System::Numerics::IBinaryInteger<int>::RotateRight;
public static int RotateRight(int value, int rotateAmount);
static member RotateRight : int * int -> int
Public Shared Function RotateRight (value As Integer, rotateAmount As Integer) As Integer
- value
- Int32
The value that is rotated right by rotateAmount
.
- rotateAmount
- Int32
The amount by which value
is rotated right.
The result of rotating value
right by rotateAmount
.
Applies to
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |