Saturday, April 18, 2009

Get Directory Name from the File Path

Code Snippet:

public string GetDirectoryNameFromPath(string fullPath)
{
return Path.GetDirectoryName(fullPath);
}

No comments:

Post a Comment