Very quick question, how do I do I multiline string w. variables.
string color = red;
string location = ocean'
String sentence = "I have a {0} fish", color +
"\n that I caught in the {}", location;
I keep getting an error.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Thread: Multiline strings with variablesThreaded View
|
Click Here to Expand Forum to Full Width |