I got this compiler error, what is the problem?
public PictureBox getinfo(int i, int j) { return grid[i, j]; } public PictureBox kingmove(int i, int j)///<-----the problem is here { getinfo(i, j); if (i < 9) { grid[i, j] = grid[i - 1, j - 1]; } else { grid[i, j] = grid[i, j]; }