3 ms·
>If you need three or more "s to be part of your content, you just use more "s on the outside. The beginning and end just have to match: This particular form o
by Arnavion 4y ago
>If you need three or more "s to be part of your content, you just use more "s on the outside. The beginning and end just have to match:
This particular form of raw strings would seem to have the problem that you can't start the raw string with a double-quote character. ie if you want:
Console.WriteLine(???);
... to print:
"Hello world"
... you can't write:
Console.WriteLine(""""Hello world"""");
... because that'll print:
Hello world
I suppose the workaround is:
Console.WriteLine("""
"Hello world"
""");