the String class is required in .Net yet it doesn't seem to provide suuport
for the "+" operator, you have to litter your code with "String::Concat"
everywhere you want to concatenate strings.
Does everyone use other string classes and just convert at the end when they
have to pass a String? What is the desireable method to resolve this?
owen
Jochen Kalmbach [MVP] - 24 Jun 2005 21:21 GMT
Hi Owen!
> Does everyone use other string classes and just convert at the end when they
> have to pass a String? What is the desireable method to resolve this?
StringBuilder?
If you always concatenate strings (or if you are using the +-operator in
C#), wvery time a new string is created and therefor many unused strings
which GC must collect...
The suggested way is to use System::Text::StringBuilder

Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/