private void SetColumnList(int columnIndex) { int columnStart = columnIndex; int length = CellValue.Count(); for (int i = columnStart; i <= length - 1; i += MaxValue) { _listToBeChecked.Add(CellValue[i]); } }
// A function to count how many more more you have left until you win // AKA count the blank spaces public int CountAllBlanksRemaining() { return(CellValue.Count(i => i == 0)); }