Getting Direcotry files sorted by date, is it possible?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Raed Sawalha (RaedSawalha_at_discussions.microsoft.com)
Date: 02/16/05


Date: Wed, 16 Feb 2005 06:27:02 -0800

I wondering if it possilble to get the directory files ordered by creation date

string [] files = System.IO.Directory.GetFiles(strPath,"*.msg")

can I sort the returned file by creation date?

or is there a ready method do the jobthat in .NET



Relevant Pages

  • Re: The Paradox of Speciation
    ... > I take evolution of some sort as a given. ... which is the Creation Museum's metaphor in opposition to the ... Of course, there's also the Tinkerer variation, whereby evolution ... weakness of your sinking position. ...
    (talk.origins)
  • Re: Creation Model (was: The correct definition.)
    ... If the first creation was the Cambrian and the third was ... I'm curious what it is like when a species ... few thousand "kinds" that were taken onto the ark evloved into the ... Some sort of typical individuals of that kind are that kind. ...
    (talk.origins)
  • Re: Maybe Safari 4 actually is for Windows
    ... You get a lot of capability related to the creation of complex ... Google Docs works ... it works *better* for this sort ... because of the low-overhead sharing and precisely because ...
    (comp.sys.mac.advocacy)
  • Re: Atheist bus seen as offensive
    ... Gareth McCaughan wrote: ... "the physical world that we inhabit" or something of the sort, ... and believes in a spiritual world that existed before the creation ...
    (uk.religion.christian)
  • Re: Getting Direcotry files sorted by date, is it possible?
    ... > I wondering if it possilble to get the directory files ordered by creation date ... You need to implement your own IComparer do the specialized sort: ... public class CompareFileByDate:IComparer ...
    (microsoft.public.dotnet.languages.csharp)