private bool CheckMillAgainstBoard(IMill mill, ICow cow)//checks a specified possible mill against a type of cow to see if a mill has been created { bool check = true; List <int> list = mill.ToList(); foreach (int i in list) { check = check && GetNode(i) == cow; } return(check); }