if I have an integer (int i), and I want to append it to the end of a string expression, does this work:
string str = "number_is_" + i;
so that the desired value of str is
number_is_1
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |