Is there a reason to choose one of these over the other?

DateTime myDate = new DateTime();

or

DateTime myDate = default(DateTime);

Both of them are equal 1/1/0001 12:00:00 AM.

4 Answers
4

Leave a Reply

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