Answers for "c# replace double backslash with single"

C#
0

replace double backslash with single backslash c#

string path = "C:Hgtemp\LogFile.txt";
string output = path.Replace(@"\", @""); 

output >>>
C:HgtempLogFile.txt
Posted by: Guest on April-22-2020

Code answers related to "c# replace double backslash with single"

C# Answers by Framework

Browse Popular Code Answers by Language