Answers for "compare 0001/01/01 in c#"

C#
0

compare 0001/01/01 in c#

//You can use DateTime.MinValue, which has exactly the same value:
if (e.CreatedDate == DateTime.MinValue)
Posted by: Guest on April-11-2022

C# Answers by Framework

Browse Popular Code Answers by Language