Tag Archives: StringBuilder

Compare the speeds of different methods for string concatenation in C#

There are several ways you can perform string concatenation in C#. For example, you can use += to add text to an existing string, you can use string.Concat, and you can use the StringBuilder class. This example compares the performance … Continue reading

Posted in performance, strings | Tagged , , , , , , , , , , , | 1 Comment