Thursday, November 21, 2019

C# - How combine path with file name without problem

..function care about suitable separator:
string sFileName = Path.Combine( PIFiles.GetExePath(), "file.dat" );

MessageBox.Show( sFileName );
Output:

No comments:

Post a Comment