//((大家好!我是C#初学者,谁能告诉我左右移位运算符的功能及其工作方式。我在某处读过,但很困惑。谢谢))
using System;
class clc
{
public static void Main() // the Main method
{
int x = 7, y = 2, z, r;
z = x << y ; //left shift operator
r = x >> y; // right shift operator
Console.WriteLine("\n z={3}\tr={4} ",z,r);
}
}