Error!
Success!

C# DateTime.MinValue is not the same as SqlDateTime.MinValue

0
kicks

C# DateTime.MinValue is not the same as SqlDateTime.MinValue  (Unpublished)

Working with non-nullable types in C# can be a bit of a pain. For instance when I have a date as a string and need to parse it into a DateTime what should the value be if the parse fails? I can’t use null because DateTime is not a nullable type.


Kicked By:
Drop Kicked By: