Answers for "asp.net core relative file path within console app"

C#
0

asp.net core relative file path within console app

using System.IO;

// make sure the file's properties are:
//Build Action: Content
//Copy to Output Directory: Copy if newer
string filePath = (new FileInfo("ContainingFolder/fileName.txt")).FullName;
Posted by: Guest on July-13-2021

C# Answers by Framework

Browse Popular Code Answers by Language