Tracks
/
C#
C#
/
Syllabus
/
Verbatim Strings
Ve

Verbatim Strings in C#

1 exercise

About Verbatim Strings

Verbatim strings allow multi-line strings. They are introduced with an @. They can be used with string interpolation. Just add a "$" before the opening quote.

string str = @"
See no wretched
quotes everywhere
";
Edit via GitHub The link opens in a new window or tab

Learn Verbatim Strings