I know that the following is true
int i = 17; //binary 10001 int j = i << 1; //decimal 34, binary 100010
But, if you shift too far, t
I have to admit, I just did a search for "C# bit rotate" and found a link to a page with a Java class that would be easily adapted to C#
I also found this in Google Book which is a C++ function with similar behavior