Answers for "get file path work in any computer c#"

C#
1

c# get folder path from file path

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

c# how to get a file path from user

FolderBrowserDialog fbd = new FolderBrowserDialog();
fbd.Description = "Custom Description"; 

if (fbd.ShowDialog() == DialogResult.OK)
{
    string sSelectedPath = fbd.SelectedPath;
}
Posted by: Guest on May-31-2020

C# Answers by Framework

Browse Popular Code Answers by Language