public static TItem LongestToString <TItem>(this GenericCollection <TItem> collection) { return(collection.Aggregate((i1, i2) => i1.ToString().Length > i2.ToString().Length ? i1 : i2)); }