1
Answer

Meaning of code and be Output of it !

Prakash Vidwans

Prakash Vidwans

10y
976
1
Hi guys ,
Please help me to understand the following code meaning !


Code :

byte b1 = 0xAB;
byte b2 = 0x99;
byte temp;
temp = (byte)~b2;
Console.Write(temp + " ");
temp = (byte)(b1 << b2);
Console.Write (temp + " ");
temp = (byte) (b2 >> 2);
Console.WriteLine(temp);

Answers (1)