检查一个DateTime是否晚于另一个时间?

if(StartDate < EndDate)
{}

DateTime支持正常的比较运算符。

posted @ 2020-10-18 21:20  Jerome丶yale  阅读(121)  评论(0编辑  收藏  举报