姬長信(Redy)

c# – i == 0和0 == i之间有区别吗?


第一个代码:
  if(i==0) {// do instructions here}

第二个代码:

  if(0==i) { // do instructions here }

块之间有什么区别?