Hello,
How to get latest sub folder from folder
need to know latest folder created
please assist
thanks
Hello,
How to get latest sub folder from folder
need to know latest folder created
please assist
thanks
Hi @nikhil.chandre
Please use the below code
Directory.GetDirectories(“C:\Your\Parent\Folder”).OrderByDescending(Function(d) New DirectoryInfo(d).CreationTime).ToArray()