StackOverflow 文档 C# Language 教程 循环 嵌套循环 嵌套循环 Created: November-22, 2018 // Print the multiplication table up to 5s for (int i = 1; i <= 5; i++) { for (int j = 1; j <= 5; j++) { int product = i * j; Console.WriteLine("{0} times {1} is {2}", i, j, product); } } 打破循环风格