代码段1-----------------------------------------------------------------------------------------------------------------------
byte b = 100;
b = b + 100;
Console.WriteLine(b);
Console.ReadKey();
代码段2-----------------------------------------------------------------------------------------------------------------------
byte b = 100;
b +=100;
Console.WriteLine(b);
Console.ReadKey();
请问以上的两断代码有何区别?
如果不放在VS上运行,你能说出他们的打印结果吗? |