Answers for "datetime check null c#"

C#
0

datetime check null c#

DateTime? datetime = null;

 if (!datetime.HasValue)
 {
     //unassigned
 }
Posted by: Guest on February-15-2022

C# Answers by Framework

Browse Popular Code Answers by Language