string-interpolation.txt 182 B

123456789
  1. var istr = $"{{Hello}},\n{$"\"{nested}\"" + @" and " + $@"""{nested}""" /*comments*/ }";
  2. var ivstr = $@"{{Hello}},
  3. {
  4. $"\"{nested}\"" + @"
  5. and
  6. " + $@"
  7. ""{nested}""
  8. "
  9. /*comments*/ }";