replace double backslash with single backslash c#
string path = "C:\Hg\temp\\LogFile.txt";
string output = path.Replace(@"\\", @"\");
output >>>
C:\Hg\temp\LogFile.txt
Also in C#:
- c# null conditional
- webclient c# example post
- c# program exit
- conditional compilation c#
- get string character by index c#
- reference to gameobject in different scene unity
- c# switch case with or condition
- snake game
- sticky footer bootstrap 3
- how to reference the position of a game object unity
- iteration c#
- convert generic to type c#
- C# extend array
- unity rigidbody addforce
- c# check if type implements interface
- how to goto a website using linklabel c#
- how to check if an integer is in array c#
- Linq - Random Elements
- c# param exception
- constructor in inherited class c#
- uinput dialog uwp c#
- regex replace all special characters
- rotatearound unity
- how to raycast unit