title: C# return full path with GetFiles
body: <p>Use this code for search files in directory:</p>
  
  <pre><code>FileInfo[] files = null;
  string path = some_path;
  DirectoryInfo folder = new DirectoryInfo(path);
  files = folder.GetFiles("*.*", SearchOption.AllDirectories);
  </code></pre>
  
  <p>This return only filename and extension (text.exe). How to return full path to file(C:\bla\bla\bla\text.exe)?</p>
  
  <p>If I use <code>Directory.GetFiles("*.*")</code>, this return full path. But if folder contains point in name(C:\bla\bla\test.0.1), result contains path to folder without file:</p>
  
  <ul>
  <li>0 C:\bla\bla\bla\text.exe </li>
  <li>1 C:\bla\bla\test.0.1 </li>
  <li>2 C:\bla\text.exe</li>
  </ul>
  
  <p>etc.</p>