Answers for "c# get folder path from full path"

1

c# get folder path from file path

Path.GetDirectoryName(filename);
Posted by: Guest on June-02-2021
-2

c# get folder of full ilepath

string fileName = @"test.txt";
    string currentDirectory = Directory.GetCurrentDirectory();
    string[] fullFilePath = Directory.GetFiles(currentDirectory, filename, SearchOption.AllDirectories);
Posted by: Guest on September-08-2020

Code answers related to "c# get folder path from full path"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language