public void SetFixValue(int row, int col, int value) { if (Cells?.Any(x => x.Row == row && x.Column == col) ?? false) { Cell myCell = Cells.FirstOrDefault(x => x.Column == col && x.Row == row); myCell.SetValue(value); } }