String Interpolation
2 sectionsRapid overview
String Interpolation
TL;DR
An interpolated string literal is a string token prefixed with $ whose {…} holes contain C# expressions: $"Hello {name}, you owe {amount:C2}". The compiler decides what code to emit from the target type: assigned to string, C# 10+ builds it…
Read →How it works
Q: What is string interpolation?
Read →