Use type checking instead of reflection
Use a StringBuilder for performance
No need to hide the base method.
Trim() should not be necessary.
No need to hide the baseclass method.
Testing types instead of using reflection.
Merge pull request #1 from nicolaiarocci/proposed_changes

Code review.