When converting Java to C#, what is the proper way to translate Locale to CultureInfo?
I know in C# we have CultureInfo.CurrentCulture for the current t
Well, thanks to Andreas, I can surmize from the javadoc:
Locale.ROOT (Java) == CultureInfo.InvariantCulture (C#)
And
Locale.getDefault() (Java) == CultureInfo.CurrentCulture (C#)
I just wish that document was easier to find! I had Googled things like java locale.root equivalent c# and java locale.getdefault equivalent c# with no useful results.