title: How can i get from a FileInfo[] the file full name full directory including the file extension?
body: <p>This is the code:</p>
  
  <pre><code>FileInfo[] flist = d.GetFiles();
  if (flist.GetLength(0) &gt; 0)
  {
      foreach (FileInfo txf in flist)
      {
          string fn = txf.FullName + txf.Extension;
      }
  }
  </code></pre>
  
  <p>If i'm doing only fullname it will give me the directory+file name but without the Extension.
  And if i'm doing it: string fn = txf.FullName + txf.Extension; Extension is empty ""</p>
  
  <p>I need to get it full like this for exmaple: c:\test.png
  Or that fn will contain: c:\temp\dir\testing.jpg</p>
  
  <p>Full directory path + full file name + the file name extension</p>