private static void PrintSet <T>(HashedSet <T> set) where T : IComparable <T> { Console.WriteLine(string.Join(", ", set)); }