In C#: If I want to create a message like this:
"Hi We have these flights for you: Flight A,B,C,D. Which one do you want"
where just the section in bold is dynamic and I pass its value at run time, but its left and right parts are fixed. I can create something like LeftMessage + those variables + RightMessage to create this.
But I was wondering if there is a way of doing it all at once without the need to create two separate left and right messages?
For translation purposes I am putting those left and right messages inside string resources so now I have two separate string resources. Is there a way to do it all at once?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…