|Subject:||Calling ToString() on a StringBuilder|
I read an article, written by Francesco Balena ("Speed Up Your VB.NET Code", Visual Studio Magazine), in which he says:
"For maximum performance, never reuse a StringBuilder object after you extract its contents with the ToString method, which returns the string in the internal buffer. Any other method would cause an additional memory allocation and copy operation to preserve the immutability of the returned string."
Hear us Roar