for(int x =1;x <=7;x++) { for(int y = 1;y<=7;y++) { Console.Write(x==y || x+y==8?"O":"."); } Console.WriteLine(); }
Console.Write(y==i||y+i==8 ? "O":".");
Consle.Write("{0}", x == y || x+y == 8 ? 'o':'.')