C
C#3y ago
Dreams

String interpolation help

How can I get the email variable into this multiline string?
4 Replies
Dreams
DreamsOP3y ago
I try to add $ but it's showing little errors
Dreams
DreamsOP3y ago
this looks alright:
Angius
Angius3y ago
If you're on .NET 7 you can use raw string literals With regular string literals, you can escape {s by using {{ Same as escaping " is done with ""
Dreams
DreamsOP3y ago
Ohhh let me try that @Angius thank you i got it

Did you find this page helpful?