Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining oldest file in a directory
Message
From
18/09/2008 09:43:17
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348390
Message ID:
01348566
Views:
13
>
>Hmm...I didn't think it would work in the Compact Framework, but I just did a search and it looks like it actually might.
>
>The x => x.CreationTime just means "passing in a single file (implied type of FileInfo)" with the variable name "x", sort by the x.CreationTime property. You can change that property to any of the other properties of FileInfo and it will sort by them instead. Once it's created the result, the ToList() method call just converts the result to a List so it's easier to work with (instead of IEnumerable).


I am not using the compact framework. Our application runs on a standard XP machine but in a compact size that is installed in the trucks. I am just using the standard dot net framework. We only call our application our mobile app because it runs in the truck as opposed to our other applications that are on the office systems for billing, etc.
Thanks.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform