You can use the build-in Enumeration of CultureInfo objects that .NET provides. Try this:
using System.Globalization;
using System.Collections.Generic;
using System.Linq;
private void ListAllCultures()
{
List<CultureInfo> culturesList =
CultureInfo.GetCultures(CultureTypes.AllCultures).ToList<CultureInfo>();
foreach(CultureInfo theCulture in culturesList)
{
Console.WriteLine
(
"Culture : {0} Language: {1}",
theCulture.Name,
theCulture.EnglishName
);
}
}
ListAllCultures();
On my machine right now, the list of Cultures has #378 entries. There is a wealth of information in each CultureInfo object including Calendar information, etc.
Resources: [
^], [
^]