Byte x, y, z;
x = 255;
y = 3;
z = (Byte)(x << y); Console.WriteLine(z);
z = (Byte)(x >> y);
Console.WriteLine(z);
z = (byte)(x & y);
Console.WriteLine(z); z = (byte)(x | y); Console.WriteLine(z);
Boolean b = true;
Console.WriteLine(Convert.ToInt16 (b));