循环:
例如打印九九乘法表:
for (int x = 1; x <= 9; x++) { for (int y = 1; y <= x; y++) { Console.Write($"{y}x{x}={x * y}\t"); } Console.WriteLine("\n"); } Console.WriteLine("请按任意键退出"); Console.ReadLine();
原文:https://www.cnblogs.com/lq13035130506/p/11832200.html