Hi there,
when I tried to find out how to read the newest file in the directory, I found out the script below.
Directory.GetFiles(“FOLDER PATH”).OrderByDescending( Function(d) New FileInfo(d).CreationTime ).First
this script come from here post 4==> How to select and load the newest file from a folder?
I understand almost 95% of it except I cant understand the function section where I Bolded that I’ve never seen that before
Could some help me to explain it or give me some direction where to google it.
Thank in advance