Microsoft
70-354 · Question #10
You are developing code to meet the requirements of the personal notes. Which code should you include?
The correct answer is C. using Windows.Globalization; var languageFontGroup = new Fonts.LanguageFontGroup(ApplicationLanguages.Languages [0]). See the full explanation below for the reasoning.
Question
You are developing code to meet the requirements of the personal notes. Which code should you include?
Options
- Ausing Windows.Globalization; var languageFontGroup = new Fonts.LanguageFontGroup (Windows.System.UserProfile.GlobalizationPreferences.Languages[0]);
- Busing Windows.Globalization; var languageFontGroup = new Fonts.LanguageFontGroup (Language.CurrentInputMethodLanguageTag);
- Cusing Windows.Globalization; var languageFontGroup = new Fonts.LanguageFontGroup(ApplicationLanguages.Languages [0]);
- Dusing Windows.Globalization; var languageFontGroup = new Fonts.LanguageFontGroup((new GeographicRegion ()).Code);
How the community answered
(29 responses)- A3% (1)
- B10% (3)
- C79% (23)
- D7% (2)
Community Discussion
No community discussion yet for this question.