RightShift Method
Definition
RightShift<T>(T, T)
Performs an arithmetic right shift (>>) operation.
public static T RightShift<T>(T x, T y) where T : struct, IConvertible
Parameters
xTThe bit pattern to be shifted.
yTThe number of bits to shift the bit pattern.
Returns
- T
The result of shifting the bit pattern.
Type Parameters
TThe type of the values for the operand operation.