Skip to content

Instantly share code, notes, and snippets.

@hbulens
Created January 13, 2018 05:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hbulens/ab0afc8f849b37ebe454ff937d00c738 to your computer and use it in GitHub Desktop.
Save hbulens/ab0afc8f849b37ebe454ff937d00c738 to your computer and use it in GitHub Desktop.
string txt1 = "HELLO";
string txt2 = "WORLD";
string txt3 = "THIS";
string txt4 = "IS";
string txt5 = "SPARTA";
string oldSchoolTextFormatting = string.Format("{3} {1} {2} {5}", txt1, txt2, txt3, txt4, "", txt5); string newSchoolTextFormatting = $"{txt1} with some random text in between {txt3} and also here {txt2} and so on";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment