Microsoft
70-518 · Question #25
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 correct answer is D. Use a comparison method that specifies a Culturelnfo class or the CompareOptions. See the full explanation below for the reasoning.
Question
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?
Options
- AAdd a configuration setting to the appSettings section of the App.config file.
- BUse a comparison method to compare ASCII values.
- CUse the Resource Manager to create culture-sorted lists.
- DUse a comparison method that specifies a Culturelnfo class or the CompareOptions
How the community answered
(54 responses)- A6% (3)
- B11% (6)
- C2% (1)
- D81% (44)
Community Discussion
No community discussion yet for this question.