I have a very simple question but i can\'t figure out why I\'m having this exception. I\'m trying to create a 2-dimensional Array of objects for a sudoku puzzle, but when I\'m i
Initialize lines before creation of array. Now you creating array with 0x0 dimensions, because lines is 0 be default.
lines
lines = 10; // Add this line grid = new Cell[lines][lines];