You need to generate a report that lists language codes and region codes.
Which code segment should you use?
A. For Each objCulture As CultureInfo In
_CultureInfo.GetCultures(CultureTypes.SpecificCultures)
...Next
B. Dim objCulture As New CultureInfo("")Dim objTypes As CultureTypes =
objCulture.CultureTypes
...
C. For Each objCulture As CultureInfo In
_CultureInfo.GetCultures(CultureTypes.NeutralCultures)
...Next
D. For Each objCulture As CultureInfo In
_CultureInfo.GetCultures(CultureTypes.ReplacementCultures)
...Next
Answer: A
Which code segment should you use?
A. For Each objCulture As CultureInfo In
_CultureInfo.GetCultures(CultureTypes.SpecificCultures)
...Next
B. Dim objCulture As New CultureInfo("")Dim objTypes As CultureTypes =
objCulture.CultureTypes
...
C. For Each objCulture As CultureInfo In
_CultureInfo.GetCultures(CultureTypes.NeutralCultures)
...Next
D. For Each objCulture As CultureInfo In
_CultureInfo.GetCultures(CultureTypes.ReplacementCultures)
...Next
Answer: A
No comments:
Post a Comment