for (int col = 0; col < _cells.GetLength(1); col++) { int value = int.Parse(cols[col]); if (value < 10) { _cells[row, col] = new SudokuBoardCell(true, value, value); } else _cells[row, col] = new SudokuBoardCell(true, 0, value/10); }