Sunday, July 12, 2009

How do you concatenate strings into a text box in C#?

I have a string called Month, a string called Balance, and a string called Interest. I want to put them together inside a textbox called Amortize.





What's the correct syntax in c#?

How do you concatenate strings into a text box in C#?
OK this is similar to my other answer.


String temp;


temp = Month + Balance + Interest;


Amortize.Text = temp;


That should do the trick


No comments:

Post a Comment