/// <summary> /// Creates a string representation from language information. /// The result can be parsed by GetLanguageInfo(). /// </summary> /// <param name="languageInfo"></param> /// <returns> /// A string containing a list of culture names. /// </returns> public static string LanguageInfoToString(CultureInfo[] languageInfo) { return string.Join(",", languageInfo.Select(ci => ci.Name).ToArray()); }