摘要: DateOnly & TimeOnly .NET 6 引入了两种期待已久的类型 - DateOnly 和 TimeOnly, 它们分别代表DateTime的日期和时间部分。 DateOnly dateOnly = new(2021, 9, 25); Console.WriteLine(dateOnl 阅读全文
posted @ 2021-12-14 09:25 SpringLeee 阅读(2284) 评论(3) 推荐(26) 编辑