Skip to content

Instantly share code, notes, and snippets.

@mikebranstein
Created August 12, 2015 00:00
Show Gist options
  • Save mikebranstein/442e431907a5369ca185 to your computer and use it in GitHub Desktop.
Save mikebranstein/442e431907a5369ca185 to your computer and use it in GitHub Desktop.
String replacement with C# 6
var name = "Mike";
var age = 77;
var concat = $"My name is {name}, and I am {age} years old.";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment