nerdexam
Microsoft

70-511 · Question #210

70-511 Question #210: Real Exam Question with Answer & Explanation

The correct answer is A. Add the following code segment to the Assemblylnfo file.. Apply this attribute to your main assembly, passing it the name of the default culture whose resources are embedded in the main assembly. Optionally, you can pass a member of the UltimateResourceFallbackLocation enumeration to indicate the location from which to retrieve fallback

Question

You are developing a Windows Presentation Foundation (WPF) application. This application will be deployed to 20 countries. However, it will only be localized to some of those countries' regional dialects. The localization will be performed by using resource files. However, no culture will be specified in the project file with the UlCulture tags. You must ensure that the application defaults to English for those regions that are not localized. What should you do?

Options

  • AAdd the following code segment to the Assemblylnfo file.
  • BAdd the following code segment to the Assemblylnfo file.
  • CAdd the following code segment to the Application constructor.
  • DAdd the following code segment to the Application constructor.

Explanation

Apply this attribute to your main assembly, passing it the name of the default culture whose resources are embedded in the main assembly. Optionally, you can pass a member of the UltimateResourceFallbackLocation enumeration to indicate the location from which to retrieve fallback resources. Using this attribute is strongly recommended. us/library/system.resources.ultimateresourcefallbacklocation(v=vs.100).aspx and us/library/system.resources.neutralresourceslanguageattribute(v=vs.100).aspx

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice