How do I write the escape char '\' to code

后端 未结 6 1942
独厮守ぢ
独厮守ぢ 2020-11-27 22:03

How to escape the character \\ in C#?

6条回答
  •  -上瘾入骨i
    2020-11-27 22:56

    If you want to output it in a string, you can write "\\" or as a character, you can write '\\'.

提交回复
热议问题