This question sounds something like this:
What is @ before a string in C #?
But I already know about the value of @ -character before a string literal in C #.
However, now I saw this in an example:
var xml = $@"<toast>
<visual>
<binding template='ToastGeneric'>
<text>text</text>
</binding>
</visual>
<audio src='ms-winsoundevent:Notification.Looping.Alarm10' loop='true'/>
</toast>";
There is an extra $ coming from @. What does it mean?
source
share