The debugger does not know that you are using the verbatim compiler to create a string. It simply displays the string using the most common representation, which is not verbatim.
A string string, in addition to accepting a new string, also does not recognize escape sequences, therefore \ a, which is a bell character, ends as two characters in one case and as one character when it does not use a style in the transcript.
You can find the link for C # string literals here .
source share