What?s the advantage of using System.Text.StringBuilder over
System.String?

Answer Posted / susan

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are partial types in c#?

557


How can I check the type of an object at runtime?

626


Define c# and list the features.

620


Can you create partial delegates and enumerations?

670


How do I format in c#?

556






What does char mean in c#?

590


Why delegates are type safe?

594


What is ilasm.exe used for?

579


What is stringreader in c#?

560


How does c# achieve polymorphism?

567


What is the Signification of the "new " keyword in C#? example

618


What are the 3 elements of delegation?

594


Explain the use of Mutex in C#?

650


What is the value which is accepted by all data types ?

609


What is ienumerable <> in c#?

549