为什么最后的答案会是10
下面的代码,运行后输出的结果为( D )int i=0;
for(i =0;i<10;i++){}
Console.WriteLine("last value of i in loop is {0}",i);
A. last value of i in loop is 0
B. last value of i in loop is 9
C. last value of i in loop is 8
D. last value of i in loop is 10