Directory name from path
<p>with this code</p>

<pre><code>string[] directories = Directory.GetDirectories(path);
</code></pre>

<p>I am able to get the directories in that path but I get the full path, e.g.:</p>

<blockquote>
  <p>C:\Users\test1\Documents\Visual Studio 2010<br>
  C:\Users\test1\Documents\test<br>
  C:\Users\test1\Documents\example<br></p>
</blockquote>

<p>How can I get the name of the last directory!? </p>
