escaping - Escape Characters Aren't Working In Debugger (C#) -


i'm trying use escape characters print double quote. however, program throwing error i'm trying debug it. when add watch string using escape character shows backslash being included in string literal. how use escape characters \ doesn't become part of literal?

enter image description here

you confused debugger's behavior.

vs debugger show value escape character (ex: 4\") in watch section , on hovering but code use 4"

escape character display in debugger vs console

in picture above, can notice it's shown escape character vs displays correctly in console.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -