/// <summary> /// This is the same implementation of ToString from Java's AbstractCollection /// (the default implementation for all sets and lists), plus the ability /// to specify culture for formatting of nested numbers and dates. Note that /// this overload will change the culture of the current thread. /// </summary> public static string ToString <T>(T array, CultureInfo culture) { return(CollectionUtil.ToString((IList <T>)array, culture)); }
/// <summary> /// This is the same implementation of ToString from Java's AbstractCollection /// (the default implementation for all sets and lists) /// </summary> public static string ToString <T>(T[] array) { return(CollectionUtil.ToString((IList <T>)array)); }