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



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

Answer / 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

More C Sharp Interview Questions

How can i Spawn a Thread

0 Answers   HCL,


How do I start a program in c#?

0 Answers  


what is IDisposal interface

0 Answers   Wipro,


what is the difference between interface and abstraction?

5 Answers   Choice Solutions, IBM,


What is the difference between Singleton design pattern and Factory design pattern?

0 Answers  






What is sealed class in c#?

0 Answers  


What is polymorphism in c sharp?

0 Answers  


Types of polymerphism and explain about dynamic polymerphism?

5 Answers  


Why multiple inheritance is not possible in c#

8 Answers  


Explain the process of inheriting a class into another class?

0 Answers  


Why do we need singleton pattern in c#?

0 Answers  


Is array immutable in c#?

0 Answers  


Categories