What should you do?

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will be deployed on Windows 7 computers in the United States and Europe. You need to ensure that array data is sorted based on the culture of the operating system. What should you do?

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will be deployed on Windows 7 computers in the United States and Europe. You need to ensure that array data is sorted based on the culture of the operating system. What should you do?

A.
Add a configuration setting to the appSettings section of the App.config file.

B.
Use a comparison method to compare ASCII values.

C.
Use the Resource Manager to create culturesorted lists.

D.
Use a comparison method that specifies a CultureInfo class or the CompareOptions enumeration parameter.



Leave a Reply 0

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