Is there any C # syntax with which I can express strings containing double quotes without escaping them? I often copy and paste the lines between the C # source code into other applications, and it is inconvenient to keep adding and removing backslashes.
Eg. currently for the next line (simple example)
“No,” he said.
I write in C # "\"No,\" he said."
But I would rather write something like Python '"No," he said.' or Ruby %q{"No," he said.} , so I can copy and paste the contents verbatim into other applications.
source share