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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do multicast delegates mean?

729


What is method and function in c#?

723


Is c# or c++ better for games?

645


What is a .aspx file?

637


What is the difference between const and static read-only?

688


What is default parameter in c#?

735


What is class method c#?

677


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!

1885


Can a sealed class be used as a base class?

717


What is default boolean value in c#?

715


Why do we use yield in c#?

676


How to achieve polymorphism in c#?

736


Enlist all the components of an ado.net framework?

666


How can I develop an application that automatically updates itself from the web?

678


What are the problem with .NET generics?

745