如何使用 C# 2.0 从 DateTime 值列表中获取最大日期时间?
最佳答案
所有的迭代是怎么回事....这是非常微不足道的
// Given...
List<DateTime> dates = { a list of some dates... }
// This is the max...
DateTime MaxDate = dates.Max();
关于c# - 列表中的最大日期时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1439954/