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

Answer Posted / guest

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 ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a void c#?

670


Which framework is best for desktop application?

713


What are the various components in crystal reports?

709


What are the Configuration files in .net?

727


What is the use of iqueryable in c#?

668


Explain About remoting and web services. Difference between them

733


How does foreach loop work in c#?

689


Why do I get a syntax error when trying to declare a variable called checked?

784


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

724


What is a protected class c#?

675


What is application c#?

669


what is collections in .net? why we use?

1896


What is a partial method?

701


Explain About web methods and its various attributes

751


What is default parameter in c#?

731