Date instead of DateTime?

后端 未结 2 828
青春惊慌失措
青春惊慌失措 2020-12-10 10:19

From what I can tell Date and DateTime have the same functionality. Is there a reason why I would want to use one instead of the other?

2条回答
  •  南方客
    南方客 (楼主)
    2020-12-10 10:52

    In VB.NET Date is an alias to System.DateTime, so yes, they're the same thing. You can see all the aliases in this chart on MSDN.

提交回复
热议问题