c# replace double backslash with single code example
Example: replace double backslash with single backslash c#
string path = "C:\Hg\temp\\LogFile.txt";
string output = path.Replace(@"\\", @"\");
output >>>
C:\Hg\temp\LogFile.txt
string path = "C:\Hg\temp\\LogFile.txt";
string output = path.Replace(@"\\", @"\");
output >>>
C:\Hg\temp\LogFile.txt