I\'ve been tinkering with small functions on my own time, trying to find ways to refactor them (I recently read Martin Fowler\'s book Refactoring: Improving the Design of Ex
Use a StringBuilder instead of concatenation. Each concatenation is creating a new string instance and throwing away the old.
StringBuilder