I'm using a basic Directory.GetFiles to find the files i want to use. But i only want to select only the most current file based on date modified. Is there a simple way to do that?
string[] directoryFiles = Directory.GetFiles(@"\\networkShare\files", "*.bak");