Use StringBuilder instead of concatenation