int digit = 0;
while (digit != 10) { Console.Write("{0} ", digit); digit++; }//没有分号 int digit = 0; do { Console.Write("{0} ", digit); digit++; } while (digit != 10);//有分号本文共 212 字,大约阅读时间需要 1 分钟。
int digit = 0;
while (digit != 10) { Console.Write("{0} ", digit); digit++; }//没有分号 int digit = 0; do { Console.Write("{0} ", digit); digit++; } while (digit != 10);//有分号转载于:https://blog.51cto.com/5257890/915706