Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# same folder path

//All these paths lead to the same file/folder
string path0 = "C:UsersUsrsource
eposConsoleAppMorzartV2inDebugWaveM1.wav";
string path1 = @"C:UsersUsrsource
eposConsoleAppMorzartV2inDebugWaveM1.wav";
string path2 = System.IO.Path.Combine(Environment.CurrentDirectory, @"WaveM1.wav"); 
string path3 = @".WaveM1.wav";
 
PREVIOUS NEXT
Tagged: #folder #path
ADD COMMENT
Topic
Name
1+6 =