You create an application that stores information about your customers who reside in various
regions. You are developing internal utilities for this application.
You need to gather regional information about your customers in Canada.
Which code segment should you use?
A. For Each objCulture As CultureInfo In
_CultureInfo.GetCultures(CultureTypes.SpecificCultures)
...Next
B. Dim objCulture As New CultureInfo("CA")
...
C. Dim objRegion As New RegionInfo("CA")
...
D. Dim objRegion As New RegionInfo("")If objRegion.Name = "CA" Then
...End If
Answer: C
regions. You are developing internal utilities for this application.
You need to gather regional information about your customers in Canada.
Which code segment should you use?
A. For Each objCulture As CultureInfo In
_CultureInfo.GetCultures(CultureTypes.SpecificCultures)
...Next
B. Dim objCulture As New CultureInfo("CA")
...
C. Dim objRegion As New RegionInfo("CA")
...
D. Dim objRegion As New RegionInfo("")If objRegion.Name = "CA" Then
...End If
Answer: C
No comments:
Post a Comment