using System.Web.UI.WebControls;
public static void Main()
Console.WriteLine("Printing the chess board pattern");
Console.WriteLine("———————————-");
PictureBox[,] board = new PictureBox[8,8];
for (int row = 1; row <= 8; row++)
for (int column = 1; column <= 8; column++)
board[row, column].Width = 5;
board[row, column].Height = 5;
board[row, column].BorderStyle = BorderStyle.Dashed;