public static bool operator !=(Board Board1, Board Board2) { if (Board1.IsValid() == false || Board2.IsValid() == false) { return(false); } if (Board1.Street != Board2.Street) { return(true); } if (Board1.Mask != Board2.Mask) { return(true); } return(false); }