两种情况:
1 DateTime? dtTemp = null;
if(dtTime != null)
{
//wawawa
}
刚刚学会的,可空值类型,可判断是否赋值
2 DateTime dtTemp;
if(dtTemp > DateTime.MinValue)
{
//hhh
}
2022-10-26 09:45:00
两种情况:
1 DateTime? dtTemp = null;
if(dtTime != null)
{
//wawawa
}
刚刚学会的,可空值类型,可判断是否赋值
2 DateTime dtTemp;
if(dtTemp > DateTime.MinValue)
{
//hhh
}