Basically i am looping through a Folder using the Directory.GetFiles and For each . My Requirement is to Loop a specific file name first no matter how many files are in the folder, name of the file is almost static so we can target that if needed.
Folder have files A,B,myfile,D
Loop order = myfile,A,B,D
Folder have files A,B,G,I,L,myfile,K
Loop order = myfile,A,B,G,I,L,k
order of other files don’t matter, have to have ‘myfile’ loop first, How can i do this ? Thanks in advance
test.xaml (8.2 KB)