Use a StringBuilder instead, that will perform much better - using strings you create a new string each time within the loop which causes a lot of overhead/garbage collection, using a single StringBuilder that you create outside the loop you can avoid that.