>>>Well, this code isn't completely optimizied. You should be setting the max value of the string builder (you can pass this number to the contructor) so that when the max length is reached, it does not need to reallocate more space for it.
Good remembrance, Mike.
but the big gotcha on the test, was found by Kamal: I forgot to declare the type of the variable...
Claudio Lassala