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 diff. Between abstract class and an interface?

738


When using the Pager object, inorder to know which page to go, which property you have to set to grid?

762


If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

797


I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)

1742


What does occur first in ASP.Net, Authentication or Authorization?

781


What is state management techniques in asp.net?

761


What is a session in programming?

756


What are custom controls?

717


What is syntax code to send email from an asp.net application?

773


What is a form tag?

703


How can you ensure a permanent cookie?

764


How to use multiple scriptmanager controls in a web page?

863


What is the state management in asp.net?

762


What are the file extensions for razor views?

873


what are the Custom controls in asp.net?

781