This documentation is archived and is not being maintained.
>>= Operator (C# Reference)
The right-shift assignment operator.
An expression of the form
is evaluated as
x is only evaluated once. The >> operator shifts
x right by an amount specified by
The >>= operator cannot be overloaded directly, but user-defined types can overload the >> operator (see operator).
static void Main()
int a = 1000;
a >>= 4;