Alex Rivera | Logout

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

Asked 2008-11-30T16:26:17.707
409

In .NET there is the CultureInfo class in the System.Globalization namespace. It has two similar properties both returning values of the CultureInfo type: CurrentCulture and CurrentUICulture.

What is the difference between them?

Which one should I use when and why?

Edit
Report

1 Answer

119

This is a simple trick I use to remember which one to use:

(date, currency, double).tostring = CurrentCulture

resource.fr-CA.resx file = currentUICulture
answered 2010-09-02T12:23:48.953

Your Answer