What should you do?

You create a serviced component named Scheduler. Scheduler is registered in a library application. The Scheduler methods parse String objects into DateTime objects. You write a console application named Coverage.exe to test each method in Scheduler. You want Coverage.exe to test Scheduler for multiple cultures to verify its globalization support. What should you do?

You create a serviced component named Scheduler. Scheduler is registered in a library application. The Scheduler methods parse String objects into DateTime objects. You write a console application named Coverage.exe to test each method in Scheduler. You want Coverage.exe to test Scheduler for multiple cultures to verify its globalization support. What should you do?

A.
Create a CultureInfo object for each culture locale before calling the Scheduler methods.

B.
Create a RegionInfo object for each culture locale before calling the Scheduler methods.

C.
Set the current thread’s CurrentCulture property to each culture locale before calling the Scheduler methods.

D.
Create a Coverage.exe.config file and add a <location> element to the configuration file for each culture locale.



Leave a Reply 0

Your email address will not be published. Required fields are marked *