I have a folder which contains many files. Is there any easy way to get the file names in the directory sorted by their creation date/time?
If I use Directory.GetFiles()
, it returns the files sorted by their file name.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…