Beispiel #1
0
        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]);
            }
        }
Beispiel #2
0
 // 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));
 }