This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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