📅  最后修改于: 2022-03-11 14:48:44.808000             🧑  作者: Mango
代码示例2
//Return stirng representation of nullable DateTime
DateTime? x = null;
return x.HasValue == true ? x.Value.ToString() : "No Date";