fork(5) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. byte b = 0xAB;
  8. var low = b & 0x0F;
  9. var high = (b >> 4) & 0x0F;
  10. var high2 = b >> 4;
  11. Console.WriteLine("{0} {1}", high, low);
  12. Console.WriteLine("{0} {1}", high2, low);
  13. }
  14. }
Success #stdin #stdout 0.03s 33728KB
stdin
Standard input is empty
stdout
10 11
10 11