title: Getting the name,size and url of all files from a directory with c# code
body: <p>I'd like to browse a directory and get all files with their sizes , names and urls.
  I did like this :</p>
  
  <pre><code> int i = 0;
                   foreach (string sFileName in Directory.GetFiles(Path.Combine(@"C:\Projets", path2)))
                   {
                       i++;
                   }
  </code></pre>
  
  <p>i count the number of files in a directory but the problem when i have other directories inside it , how can i do to get all files and it caracteristics?</p>