// All Different public static Constraint AllDifferent(this IntVar[] vars) { Solver solver = GetSolver(vars); return(solver.MakeAllDifferent(vars)); }