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

Answer Posted / prathap

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 ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parse in asp.net?

549


Can the dictionary object be created in client?s scope ?

1980


Explain swagger components.

558


Can you change a Master Page dynamically at runtime?

567


What is http post and http get?

531






How tooltip is set through code-behind in ASP.NET?

566


Is asp.net a programming language or framework?

543


What setting must be added in the configuration file to deny a particular user from accessing the secured resources?

487


Contrast OOP and SOA. What are tenets of each ?

1730


How does http session work?

514


How may clustered index we can create in table?

557


What are the page life cycle events?

482


What is difference between datalist and gridview?

573


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

518


What is a postback in asp net?

527