O'Reilly logo
  • Manfred Kipfelsberger thinks this is interesting:

To use basic string interpolation in Scala, precede your string with the letter s and include your variables inside the string, with each variable name preceded by a $ character. This is shown in the println statement in the following example:


Cover of Scala Cookbook


Almost the same in C#6 where you prefix the interpolated string with $ and embed variables in curly braces