Answers for "sort file name with C#"

C#
0

sort file name with C#

string[] files = Directory.GetFiles(path).OrderBy(f => int.Parse(Path.GetFileNameWithoutExtension(f))).ToArray();
Posted by: Guest on November-30-2020

C# Answers by Framework

Browse Popular Code Answers by Language