I\'ve been using string interpolation and loving it, however I have an issue where I am trying to include a backslash in my output, but am not able to get it to work.
$"{domain}\\{user}"
Works fine - escaping works as usual (except when escaping {). At least on .NET 4.6 and VS 14.0.22823 D14REL.
{
If it doesn't work for some reason (maybe you're using an older version of the compiler?), you could also try being more explicit:
$"{domain}{@"\"}{user}"