views:

35

answers:

3

what is the result of setting the current thread's culture code?

I understand if I use the resource file it will pull label's/strings from the .resx file.

What else? Will it effect my date/money formatting also?

+1  A: 

yes, your Date, money and other setting will be according to your thread 's culture. When you set thread's culture, your application run under that culture.

Muhammad Akhtar
+1  A: 

Setting Thread.CurrentCulture will affect formatting and parsing of dates and numbers. Setting Thread.CurrentUICulture affects fetching resources from resource files.

Fredrik Mörk
+1  A: 

It MIGHT affect date and money formatting, depending on how you do the formatting. I think the default ToString() will usually check the treads UI culture, but if you have any custom formatting it will override the defaults.

chris