Answers for "c# get file path from different directory"

C#
3

get directory of file c#

using System.IO;

string file = "C:Documentsfile.txt";
Path.GetDirectoryName(file);
Posted by: Guest on December-03-2020
1

c# get folder path from file path

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

Code answers related to "c# get file path from different directory"

C# Answers by Framework

Browse Popular Code Answers by Language