public static IDistinctEnumerable <T> EnsureDistinct <T>(this IEnumerable <T> enumerable) { return(enumerable.EnsureDistinct(EqualityComparer <T> .Default)); }