一些基本操作符
int x = 100;
int y = 200;
int z = 300;
X+=Y+=Z;
Console WriteLine(x);
Console WriteLine(x);
Console WriteLine(x);
x = 600
y = 500
z = 300
赋值语句要从右往左算
c.访问他的成员
如:Calculator c = new Calculator();
double x = c.Add(3.0,5.0);
Console.WriteLine(x);
[ ]访问集合中的元素
如:int[ ] myInt Array = new int[ ] {1,2,3,4,5};
Console.WriteLine(myIntArray[0]);
Console.WriteLine(myIntArray[myIntArray.Length - 1]);
则输出的是:1
5
后置++与–
如:int x = 100;
int y = x++;
cw(x);
cw(y);
嗨偷个懒,