Which class should you use?

You are designing a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. You plan to add a feature to the application. The application
will be used in several different locales. The application will send data to a centralized
server and log the date and time information. You need to ensure that the date and time
information includes the local Universal Time Coordinate (UTC) offset value. Which class
should you use?

You are designing a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. You plan to add a feature to the application. The application
will be used in several different locales. The application will send data to a centralized
server and log the date and time information. You need to ensure that the date and time
information includes the local Universal Time Coordinate (UTC) offset value. Which class
should you use?

A.
DateTimeOffsetConverter

B.
Culturelnfo

C.
DateTimeOffset

D.
CulturelnfoConverter



Leave a Reply 0

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