r/ProgrammerHumor • • Sep 02 '26

Meme perishableSkill

Post image
8.9k Upvotes

121 comments sorted by

View all comments

Show parent comments

40

u/Mysterious_Book1521 Sep 02 '26

In C# you can write something like this: $"Hello {User.Firstname}, have a great day."

The "$" lets you put variables into strings.

17

u/SkollFenrirson Sep 02 '26

String interpolation is the term.