找考题网-背景图
单项选择题

A. Thread.CurrentThread.CurrentUICulture = Thread.Curre……

You use Microsoft .NET Framework 4 to create a Windows Forms application. 
You need to allow the user interface to use the currently configured culture settings in the Control Panel. 
Which code segment should you use?()



A. Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
B. Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture;
C. Thread.CurrentThread.CurrentUICulture = CultureInfo.InstalledUICulture; 
D. Thread.CurrentThread.CurrentCulture = CultureInfo.InstalledUICulture;

热门试题