Hi there,
Trying to get the latest file with this function:
System.IO.Directory.GetFiles(path).OrderByDescending(Function(d) New FileInfo(d).CreationTime).First
But it seems function and new are not recognized:
Can anyone give me a hand, pls?
Note: My project is in C#.
Thanks !!!