can datetime be null in c# code example Example: c# set datetime to null value DateTime? newdate = null;