Created
April 10, 2022 06:16
-
-
Save emoacht/addbc2d84c2a6ed899282795d9fdfcb7 to your computer and use it in GitHub Desktop.
Show all supported cultures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
public class Program | |
{ | |
static void Main(string[] args) | |
{ | |
foreach (var c in CultureInfo.GetCultures(CultureTypes.AllCultures)) | |
Console.WriteLine(c); | |
Console.ReadLine(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://docs.microsoft.com/en-us/dotnet/api/system.globalization.culturetypes