In addition to serving as the addition operator for numeric values, the
+ operator can be used to concatenate strings, similar to the
concat function. For example, both lines of code below will give the same result:
If you are concatenating many strings, you might consider using
StringWriter, an object that supports incrementally building a string.