J
Jeroen Pot
Hi,
I something to store filename and date in, so i can sort, but i don't know
what to use.
Any suggestions?
I something to store filename and date in, so i can sort, but i don't know
what to use.
Any suggestions?
Code:
foreach(string file in Directory.GetFiles("c:\\nt6"))
{
// i've got the filename
DateTime created ;
created = System.IO.File.GetCreationTime(file).ToLongDateString() ;
// Now i want to store the filenames and datetimes so i can sort by
datetime DESC
// And the in a new foreach loop display them
}