Escape sequence with “\” symbol

前端 未结 4 1506
遥遥无期
遥遥无期 2021-01-07 03:49

i have one string, and i assign the value like,

string str=\"admin\" + @\"\\\" + \"user\";

The output of the \"str\" value comes as

4条回答
  •  情书的邮戳
    2021-01-07 04:34

    I don't see where your problem lies... Looks fine to me. - View stuff as the end user, and not in the debugger as Rob suggests.

    enter image description here

提交回复
热议问题