What is the Main difference between String and
StringBuilder and why do we use StringBuilder.

Answer Posted / mahesh

String and StringBuilder Both are classe for store the
strings.
String Builder is faster than String. String is immitable,
StringBuilder is mutable.

Is This Answer Correct ?    28 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is eager loading in c#?

469


What is difference between a constant and read-only in C#?

535


What is the advantage of singleton class?

479


Do unused Namespaces in c# affect run-time performance?

524


What does namespace mean?

516






Explain the difference between the debug class and trace class?

499


if you do have a stack overflow profile.what is your ranking?

1484


Which is faster dictionary or list?

544


Which .gang of four. Design pattern is shown below?

499


How do I declare inout arguments in c#?

540


How do you name a variable in c#?

507


What is the default boolean value in c#?

511


Explain the concepts of cts and cls(common language specification).

505


How to implement singleton design pattern in c#?

476


What does private void mean in c#?

542