dotnet / csharplang

The official repo for the design of the C# programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CultureNotFoundException: Culture is not supported. (Parameter 'culture') 4096 (0x1000) is an invalid culture identifier.

UdhayaKumarDuraisamy opened this issue · comments

CultureInfo cultureInfo = new CultureInfo(CultureInfo.CurrentCulture.LCID);

When using the above code with the "en-AT" culture, the below exception occurred. I'm using a Blazor project and I rendered the project default in the en-AT culture.

Exception : CultureNotFoundException: Culture is not supported. (Parameter 'culture')
4096 (0x1000) is an invalid culture identifier.

Better report this in dotnet/runtime I believe