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?

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;



Leave a Reply 0

Your email address will not be published. Required fields are marked *