HATEBIN
>
using System; using System.Linq; public class gameBoard { private int[,] board; private int N; public gameBoard(int Size) { Console.WriteLine("Enter size of Board"); N = int.Parse(Console.ReadLine()); //N stores the size of user board = new int[N, N]; int count = 1; for (int i = 0; i < N; i++) { for (int j = 0; j < N; j++) { board[i, j] = count++; } } } } public class Tile { public int number { get; set; } public string Color { get; set; } public int x { get; set; } public int y { get; set; } } internal class Program { private static void Main() { } }