PrepAway - Latest Free Exam Questions & Answers

Which code segment should you use?

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?

PrepAway - Latest Free Exam Questions & Answers

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;


Leave a Reply