C# 定义变量中类型后带一个问号 `?` --可空引用类型(nullable reference types)
C# 定义变量中类型后带一个问号 ? :可为空引用类型/可空类型(nullable reference types).
dotNet core API: Unable to cast object of type 'System.DBNull' to type 'System.DateTime'.
空合并运算符:a??b //表示a不为null时则返回a, 当a为null时则返回b
原创
2020-09-03 14:46:41 ·
727 阅读 ·
0 评论