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

Answers were Sorted based on User's Feedback



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

Answer / rahul

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 ?    10 Yes 2 No

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

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

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

Answer / kirti

StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time it's being operated on, a new instance is created.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How does dependency injection work c#?

0 Answers  


Can we throw exception from catch block

6 Answers   Microsoft,


What is the use of table aliases?

0 Answers  


What does the initial catalog parameter define in the connection string?

0 Answers  


What does void mean in c#?

0 Answers  


What is a jagged array?

0 Answers  


What is global asax in c#?

0 Answers  


What is int parse in c#?

0 Answers  


How long does it take to get a loop recorder put in?

0 Answers  


Is python easier than c#?

0 Answers  


What's the difference between a static method and a non static method c#?

0 Answers  


What is Garbage Collection in .Net?

0 Answers  


Categories