You need to generate a report that lists language codes and region codes. Which code segment should you use?

You need to generate a report that lists language codes and region codes.
Which code segment should you use? 


A. for each (CultureInfo^ culture in
    CultureInfo::GetCultures(CultureTypes::SpecificCultures)) {
    // Output the culture information...}
B. CultureInfo^ culture = gcnew CultureInfo(“”); CultureTypes^ types = culture->CultureTypes;
    // Output the culture information...
C. for each (CultureInfo^ culture in
    CultureInfo::GetCultures(CultureTypes::NeutralCultures)) {
    // Output the culture information...}
D. for each (CultureInfo^ culture in
    CultureInfo::GetCultures(CultureTypes::ReplacementCultures)) {
    // Output the culture information...}
 
Answer: A 




No comments:

Post a Comment