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