I discovered that there is a such class like StringBuilder
but I don't find any thing that convince me to use it.
Explain me it's advantage and disadvantage and if you gave some examples I like to see them

thanks a lot Sergey

String builder can have advantages when buidling up output. So instead of a ton of

s += titletext;
s += "\r\n--------";

etc

you can just do
sb.append(newtext);
sb.appendline("---------");

it acts almost like a buffer, however if you've done much coding before it does feel unnecessary and isnt the way your brain is used thinking.

String builder can have advantages when buidling up output. So instead of a ton of

s += titletext;
s += "\r\n--------";

etc

you can just do
sb.append(newtext);
sb.appendline("---------");

it acts almost like a buffer, however if you've done much coding before it does feel unnecessary and isnt the way your brain is used thinking.[/QUO
thanks LIZR

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.