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 a .xap file? Explain with an example.

589


Define xmlreader class.

576


How do I send an email message from my ASP.NET page?

534


Which Is Faster MVC or ASP.net ?

587


What is the size of Get method and how much data it can store?

567






i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1499


What is the default timeout for a cookie?

560


What is a pixel url?

514


Why is global asax is used?

614


What are server-side comments in ASP.NET?

548


What are session state modes in asp.net?

554


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

622


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

543


How many web config files can be created for an application?

454


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

577