C# 14 · Basics

Write multi-line text

Raw string literals keep quotes and line breaks as written, with no escaping.

var json = """
    { "name": "Ada", "age": 36 }
    """;

Official C# 14 documentation

More basics commands

All basics commands · C# 14 cheatsheet

Was this page helpful?