In the old days, appending text to a textbox meant concatenation – something like:
TextBox1.Text=TextBox1.Text + myNewText
or:
TextBox1.Text+=MyNewText
Instead of this, we now have:
TextBox1.Text.AppendText(MyNewText)
This is for a use in which the StringBuilder class would be overkill. Plus, this has much less overhead than the older concatenation method also. It’s faster and more efficient. That’s all I needed to hear.
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF
Leave a reply
You must be logged in to post a comment.