Answers for "how to get current file path in project folder in c#"

C#
0

c# read file current directory

var path = Path.Combine(Directory.GetCurrentDirectory(), "\\fileName.txt");
Posted by: Guest on September-21-2020
1

c# get folder path from file path

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

Code answers related to "how to get current file path in project folder in c#"

C# Answers by Framework

Browse Popular Code Answers by Language