You are developing a .NET Framework 2.0 Windows Forms application on Certkiller -WS554.
The Windows Forms application will be used by regional offices of Domain.com in various countries.
You are required to customize the application so that the language, calendar and cultural conventions are changed based on the user’s operating system settings.
You additionally are required to identify the .Net Framework class that should be used for this requirement.
What should you do?
A.
The CultureInfo class should be used
B.
The TextInfo class should be used
C.
The DateTimeFormtaInfo should be used
D.
The CharUnicodeInfo should be used
E.
The RegionInfo should be used
Explanation:
The CultureInfo class should be used in the scenario because it contains culture- specific information and
provides the information required for performing culture-specific operations like changing casing, formatting dates and
numbers and comparing strings.
Incorrect Answers:
B: This class should not be used in the scenario because this class only affects the behavior such as text casing.
C: This class should not be used in the scenario because this class only defines how the Date and Time values are formatted.
D: This class should not be used in the scenario because this class is used to only retrieve information about a Unicode character.
E: This class should not be used in the scenario because this class does not represent any
preferences of the user and does not depend upon the culture.
I have the same idea. A