Gets the CultureInfo object that is culture-independent (invariant).
Questions tagged [invariantculture]
48 questions
0
votes
1 answer
Serialization\De-serialization - Should I use Invariant culture info or rather persist the current culture info
I came to ask some advice before I plunge headfirst into code.
On the application I am working on, I am running into the "," (comma) vs "." (dot) discrepancy for a decimal separator.
When I persist to a file, change the regional settings and reopen…

Marcel De Villiers
- 1,682
- 4
- 15
- 17
-1
votes
1 answer
Convert month name from one language to another without knowing the Culture?
How can I convert a string with a month name like "agosto" to the english translation "August" without knowing if "agosto" is spanish or italian?
I know that I get the month name for the month number 8 in Spanish with
Dim SpanishMonthName as String…

PeterCo
- 910
- 2
- 20
- 36
-1
votes
2 answers
How to convert string “2.000,65” into decimal 2,000.65 (en-Us) culture in c#
I have string value of "2.000,65" in German (de-DE) culture format. I want to convert this value into decimal and that too also in English (ed-US) format in c#, like "2,000.65".
Summary:-
I have a string value : "2.000,65"
Now wanted to convert this…

Herin
- 704
- 3
- 18
- 34