Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

datetime check null c#

DateTime? datetime = null;

 if (!datetime.HasValue)
 {
     //unassigned
 }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datetime #check #null
ADD COMMENT
Topic
Name
4+8 =