You should consider the StringBuilder class to help with this exercise.