Top "Cultureinfo" questions

Represents information about a specific culture including the names of the culture, the writing system, and the calendar used, as well as access to culture-specific objects that provide information for common operations, such as formatting dates and sorting strings.

What is the difference between CurrentCulture and CurrentUICulture properties of CultureInfo in .NET?

In .NET there is the CultureInfo class in the System.Globalization namespace. It has two similar properties both returning values …

.net globalization cultureinfo
Convert any currency string to double

I need to store multiple currencies in SQL server. I understand that SQL won't support all different types of currencies (…

c# currency cultureinfo
Culture invariant Decimal.TryParse()

I'm writing a custom string to decimal validator that needs to use Decimal.TryParse that ignores culture (i.e. doesn't …

c# decimal cultureinfo tryparse
How to get current regional settings in C#?

Normally you can get it by writing something like CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture; But this way you can only …

c# cultureinfo
Get the currency from current culture?

Is there a way to get current information dynamically from the apps culture settings? Basically if the user has set …

c# currency cultureinfo
Setting Culture (en-IN) globally in WPF application

I have an application, which is based for India, and I'm setting Culture as: Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-IN"); …

c# wpf cultureinfo currentuiculture
How to produce localized date string with CultureInfo

I have the following code that produces a date string in en-us format. I would like to pass in the …

c# .net datetime cultureinfo
Culture is not supported

I'm using Visual Studio 2012 Ultimate version. I've got this error and I don't know how to solve it. Culture is …

c# asp.net cultureinfo
Display current time in this format: HH:mm:ss

I'm having some trouble displaying the time in this format: HH:mm:ss. No matter what i try, i never …

c# time cultureinfo
How to convert "12,4" to decimal en-Us culture

I have a decimal value ("133,3") stored in string column in the database, in norway culture. after that user changed the …

c# cultureinfo