The visual studio debugger will show it as if it were doubled, since in C# a \ would precede an escape sequence. Don’t worry – your string is unchanged.
More Related Contents:
- De-serializing json format string
- Split and cut string in C# [closed]
- How to cut up a string from an input file with Regex or String Split, C#?
- How to add a char every X specific char in C# [closed]
- Using C# to check if string contains a string in string array
- Compression/Decompression string with C#
- How do I read a specified line in a text file?
- Best way to repeat a character in C#
- C# List to string with delimiter
- What is the difference between a mutable and immutable string in C#?
- How to check if a String contains any of some strings
- Why use String.Format? [duplicate]
- Verifying that a string contains only letters in C#
- How to compare Unicode characters that “look alike”?
- How can I create a more user-friendly string.format syntax?
- Add separator to string at every N characters?
- Get Substring – everything before certain char
- Fastest way to remove white spaces in string
- string.Format() giving “Input string is not in correct format”
- Difference between == operator and Equals() method in C#?
- Replacing escape characters from JSON
- How does one extract each folder name from a path?
- Search for a string in Enum and return the Enum
- Checking for null before ToString()
- Get text between 2 html tags c#
- Replace non-numeric with empty string
- How can I check if a string contains a character in C#?
- Parsing formatted string
- Parsing through Arabic / RTL text from left to right
- How to get the first five character of a String