private void CreateCellGroups() { for (int i = 0; i < 9; i++) { rows[i] = new CellGroup(); columns[i] = new CellGroup(); quadrants[i] = new CellGroup(); } }
public Cell(CellGroup row, CellGroup column, CellGroup quadrant, Coords cellCoords) { this.row = row; this.column = column; this.quadrant = quadrant; this.CellCoords = cellCoords; for (int i = 9; i > 0; i--) { PossibleValues.Add(i); } }