Complete the code to declare a verbatim string literal.
string path = [1]"C:\\Users\\Admin";
The @ symbol before a string in C# creates a verbatim string literal, which treats backslashes as normal characters.
Complete the code to declare a raw string literal with three double quotes.
string json = [1]""" { "name": "John" }""";
Raw string literals in C# use triple double quotes """ to allow multi-line strings without escapes.
Fix the error in the raw string literal declaration.
string text = [1]""" Line 1 Line 2 """;
Raw string literals require triple double quotes """ to start and end the string.
Fill both blanks to create a verbatim string with a newline character.
string message = [1]"Hello[2]World";
Verbatim strings use @ and to include a newline character literally, you use \n inside the string.
Fill all three blanks to create a raw string literal with embedded quotes and a newline.
string quote = [1]""" She said, [2]Hello, World![3] """;
Raw string literals start and end with triple double quotes """. Inside, double quotes are written as single double quotes ". Newlines are preserved automatically.