LeftShift Method
Definition
LeftShift<T>(T, T)
Performs an arithmetic left shift (<<) operation.
public static T LeftShift<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.