Question:
How to get only directory name from full file path c#
Answer:
var targetPath = new DirectoryInfo(txtFolderPath.Text); var folderPath = targetPath.Parent.FullName;
Question:
How to get only directory name from full file path c#
Answer:
var targetPath = new DirectoryInfo(txtFolderPath.Text); var folderPath = targetPath.Parent.FullName;