title: get first file from directory do instructions and do the same for the next one c#
body: <p>I want to do some instructions on some files located in folder. So now all i can do now is to do this to the first file , and i want to add the possibility to do the same instructions for the next file after finished .</p>
  
  <p>Here is the code I'm using to get the first file </p>
  
  <pre><code>   var imgPath = Directory.GetFiles(Server.MapPath("~/Folder_fact"), "*.pdf").First();
    //instructions here 
    // i want to add here the function to move to the next file 
  </code></pre>