1.

What Is The Advantage Of Using System.text.stringbuilder Over System.string?

Answer»

STRINGBUILDER is more efficient in the CASES, where a lot of manipulation is done to the text. STRINGS are immutable, so each time it’s being operated on, a new instance is CREATED.

StringBuilder is more efficient in the cases, where a lot of manipulation is done to the text. Strings are immutable, so each time it’s being operated on, a new instance is created.



Discussion

No Comment Found