You need to ensure that array data is sorted based on the culture of the operating system

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.
Use a comparison method to compare ASCII values.

B.
Use the Resource Manager to create culture-sorted lists.

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

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



Leave a Reply 0

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