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

Answer Posted / swapna

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

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between a struct and a class?

594


What is the use of system.environment class in c#.net?

602


What is double c#?

610


Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records

686


How does the clr work?

583






How do you create empty strings in c#?

605


What are the types of delegates in c#?

549


List the 5 different access modifiers in c#?

593


4. Describe the process when we send a request URL? And who is responsible for that?

1563


Explain attributes in c#?

546


How many bits is int32?

589


Can a sealed class be used as a base class?

604


What is the max value of int32 in c#?

573


What is visual c# net?

557


Why main method is static in c#?

567