예제 #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]);
            }
        }
예제 #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));
 }