Answers for "specify path to file c#"

C#
0

c# relative path to project folder

string fileName = "ich_will.mp3";
string path = Path.Combine(Environment.CurrentDirectory, @"Data", fileName);
Posted by: Guest on September-03-2020
0

convert relative path to physical path c#

String RelativePath = AbsolutePath.Replace(Request.ServerVariables["APPL_PHYSICAL_PATH"], String.Empty);
Posted by: Guest on July-13-2020

Code answers related to "specify path to file c#"

C# Answers by Framework

Browse Popular Code Answers by Language