VB.Net - StringBuilder

The StringBuilder object is used to construct strings. It’s supposedly faster than contactinatng strings.

Here is a sample

1
2
3
4
5
6
7
8
9
dim o as StringBuilder _
= new stringbuilder("<table>")
o.Append("<tr>")
for each acol as SparseDefCol In aColList
o.Append("<td>" & acol.Title & "</td>")
Next
o.Append("</tr>")

return o.ToString