Get folder name from full file path - C#, ASP.NET
<p>How to get the folder name from the full path of the application?</p>

<p>This is file path,</p>

<p>"c:\projects\roott\wsdlproj\devlop\beta2\text"..</p>

<p>Here "text" is the folder name.</p>

<p>How can I get that folder name from this path?</p>
