title: How to get Directories name
body: <p>I use this code for get directories name:</p>
  
  <pre><code>void DirSearch(string sDir)
      {
          foreach (var d in System.IO.Directory.GetDirectories(sDir))
          {
              ListBox1.Items.Add(System.IO.Path.GetDirectoryName(d));
              DirSearch(d);
          }
      }
  </code></pre>
  
  <p>but its not get Directory Name. Ex: <em>"NewFolder1"</em>, get: <em>"D:\aaa\bbbb\cccc\dddd\NewFolder1"</em>.</p>
  
  <p>I have only get Directory Name.</p>