In C# 6 there is a new feature: interpolated strings. These let you put expressions directly into code.
Rather than relying on indexes:
string s = stri
You can apply both $ and @ prefixes to the same string:
$
@
string s = $@"Result... Adding ""{x}"" and {this.Y()} to foobar: {x.GetLog()}";
Since being introduced in C# 6, interpolated verbatim strings had to start with the tokens $@, but starting with C# 8, you can use either $@ or @$.
$@