for (int y = 1; y <= 7; y++)
{
for (int x = 1; x <= 7; x++)
{
if(x==y){
break;
}
Console.Write(x);
}
Console.WriteLine();//换行
}
{
for (int x = 1; x <= 7; x++)
{
if(x==y){
break;
}
Console.Write(x);
}
Console.WriteLine();//换行
}
2019-07-11