title: convert a FileInfo array into a String array C#
body: <p>I create a FileInfo array like this</p>
  
  <pre><code> try
              {
                  DirectoryInfo Dir = new DirectoryInfo(DirPath);
                  FileInfo[] FileList = Dir.GetFiles("*.*", SearchOption.AllDirectories);
  
  
                  foreach (FileInfo FI in FileList)
                  {
                      Console.WriteLine(FI.FullName);
                  }
  
              }
              catch (Exception e)
              {
                  Console.WriteLine(e.ToString());
              }
  </code></pre>
  
  <p>And this array holds all the file names in folder = DirPath</p>
  
  <p>I thought of looping through the FileInfo array and copy it to a String array. Is this ok or is there a much cleaner method ?</p>