I have the below code and I can't understand why the last line doesn't return 77594624
. Can anyone help me write the inverse bitwise operation to go from 77594624
to 4
and back to 77594624
?
Console.WriteLine(77594624);
Console.WriteLine((77594624 >> 24) & 0x1F);
Console.WriteLine((4 & 0x1F) << 24);