SHARE
TWEET

Untitled

a guest Jun 18th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if  ((int)value & 0x1)
  2.             {
  3.                 //statement here
  4.             }
  5.             if  ((int)value & 0x2)
  6.             {
  7.                 //statement here
  8.             }
  9.             if  ((int)value & 0x4)
  10.             {
  11.                 //statement here
  12.             }
  13.             if  ((int)value & 0x8)
  14.             {
  15.                 //statement here
  16.             }
  17.      
  18. 0 & 0 = 0
  19. 0 & 1 = 0
  20. 1 & 0 = 0
  21. 1 & 1 = 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top