
C# 11's Raw String Literals simplify multi-line strings embedded in your code.
No more escaping quotes or special characters. Easy interpolation even with curly braces that you want to escape.
Visual Studio and the C# Dev Kit provide some validation and syntax highlighting when raw string literals contain JSON data or regular expressions. You can help this mechanism using a dedicated comment above the literal.

English