can anypone explain me string builder and string with good example ?
sivak
-7
Junior Poster
Recommended Answers
Jump to PostFrom the help file for string builder under "Performance Considerations":
The performance of a concatenation operation for a String or StringBuilder object depends on how often a memory allocation occurs. A String concatenation operation always allocates memory, whereas a StringBuilder concatenation operation only allocates memory if the StringBuilder object …
Jump to PostThanks sknake, Informative thread.
I would like to add few things:
StringBuilder represents a mutable string of characters - it can be modified once it has been created by appending, removing, replacing, or inserting characters.
String objects are immutable. Its value cannot be modified once it has …
All 5 Replies
sknake
1,622
Senior Poster
Featured Poster
kvprajapati
1,826
Posting Genius
Team Colleague
sivak
-7
Junior Poster
sknake
1,622
Senior Poster
Featured Poster
serkan sendur
821
Postaholic
Banned
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.