Пример #1
0
 public bool Equals(sudokCell obj)
 {
     if (!this.getPossibles().SequenceEqual(obj.getPossibles()) || this.getSolved() != obj.getSolved())
     {
         return(false);
     }
     return(true);
 }
Пример #2
0
        public sudokCell Clone(sudokCell myCell)
        {
            if (myCell.solved)
            {
                return(new sudokCell(myCell.getVal()));
            }

            return(new sudokCell(myCell.getPossibles()));
        }
Пример #3
0
 public sudokCell(sudokCell obj)
 {
     new sudokCell(obj.getPossibles(), obj.getSolved());
 }
Пример #4
0
 public List <int> getPossibles(sudokCell obj)
 {
     return(obj.getPossibles());
 }