replace double backslash with single backslash csharp

Code Example - replace double backslash with single backslash csharp

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

output >>>
C:\Hg\temp\LogFile.txt