我需要在目录中找到最近修改过的文件.
我知道我可以遍历文件夹中的每个文件并进行比较File.GetLastWriteTime,但有没有更好的方法可以在不循环的情况下执行此操作?
File.GetLastWriteTime
.net c# loops file last-modified
.net ×1
c# ×1
file ×1
last-modified ×1
loops ×1