J
Jeff
Hey
Below are some c# code, the c variable gets the value 122. I know that the
datatype byte can hold a numeric value up to 255. I don't understand how (a
& b) becomes 122...
byte a, b, c;
a = 255;
b = 122;
c = (byte)(a & b);
Maybe some of you could give me some hints about why it becomes 122?
cheers
jeff
Below are some c# code, the c variable gets the value 122. I know that the
datatype byte can hold a numeric value up to 255. I don't understand how (a
& b) becomes 122...
byte a, b, c;
a = 255;
b = 122;
c = (byte)(a & b);
Maybe some of you could give me some hints about why it becomes 122?
cheers
jeff