Which class should you use?

You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will store data that includes a time and date stamp.
The middle tier of the application is implemented by using Windows Communication Foundation (WCF). The middle tier connects to geographically separated database servers.
You need to ensure that the application meets the following requirements:
Data stored contains time and date information local to the database server.
Data stored contains Universal Coordinated Time (UTC).
Which class should you use?
A. DateTime
B. DateTime Offset
C. TimeZonelnfo
D. TimeZone

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.