You can combine $ and @ together to get a multiline interpolated string literal:
string s =
$@"Height: {height}
Width: {width}
Background: {background}";
Source: Long string interpolation lines in C#6 (Thanks to @Ric for finding the thread!)
You can combine $ and @ together to get a multiline interpolated string literal:
string s =
$@"Height: {height}
Width: {width}
Background: {background}";
Source: Long string interpolation lines in C#6 (Thanks to @Ric for finding the thread!)