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

Answer Posted / rahul

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 ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the accessibility modifier protected internal?

538


How to block a class from being inherited further?

563


Distinguish between array and arraylist in c#?

646


How many dimensions can an array have?

538


Explain the types of assemblies in .net?

600






What is the Signification of the "new " keyword in C#? example

618


Is there hashmap in c#?

559


What is the use of readkey in c#?

598


What is variable in c#?

611


Can you use all access modifiers for all types?

607


What are object pooling and connection pooling and difference between them?

596


What types of object can I throw as exceptions?

613


How does bitwise xor work?

543


What is cli in c#?

586


how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

1580