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.

How to use localization in C#

I just can't seem to get localization to work. I have a class library. Now I want to create resx …

c# localization cultureinfo
Is there a way of setting culture for a whole application? All current threads and new threads?

Is there a way of setting culture for a whole application? All current threads and new threads? We have the …

c# multithreading cultureinfo
DateTime and CultureInfo

I have this in my code: var date1 = DateTime.ParseExact(date, "dd.MM.yyyy HH:mm:ss", System.Globalization.CultureInfo.…

c# datetime cultureinfo
Why can't DateTime.ParseExact() parse "9/1/2009" using "M/d/yyyy"

I have a string that looks like this: "9/1/2009". I want to convert it to a DateTime object (using C#). This …

.net datetime parsing cultureinfo
DateTime.TryParseExact() rejecting valid formats

I'm parsing a DateTime value in an ASP.NET WebForms page and the date string keeps getting rejected by the …

c# .net cultureinfo
Get current language in CultureInfo

How to identify the operating system's language using CultureInfo? E.g. if the language in Windows is set to French, …

c# globalization cultureinfo currentculture
how to set default culture info for entire c# application

I want to set default culture info for that class or for entire application. For example in Turkey 3,2 = in english 3.2 …

c# c#-4.0 globalization cultureinfo invariantculture
Find number of decimal places in decimal value regardless of culture

I'm wondering if there is a concise and accurate way to pull out the number of decimal places in a …

c# decimal cultureinfo
DateTime.Now.DayOfWeek.ToString() with CultureInfo

I have the code: DateTime.Now.DayOfWeek.ToString() That give's me the english day of the week name, I want …

c# asp.net datetime cultureinfo
Format string by CultureInfo

I want to show pound sign and the format 0.00 i.e £45.00, £4.10 . I am using the following statement: <td style="…

c# asp.net cultureinfo