What is the difference between Culture and UICulture?
问题 Could someone give me a bit more information on the difference between Culture and UICulture within the .NET framework? What they do and when to use what? 回答1: Culture affects how culture-dependent data (dates, currencies, numbers and so on) is presented. Here are a few examples: var date = new DateTime(2000, 1, 2); var number = 12345.6789; Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE"); Console.WriteLine(date); // 02.01.2000 00:00:00 Console.WriteLine(number.ToString("C")); /