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

What does immutable mean in c#?

715


How do generics work in c#?

682


What Is A Satellite Assembly?

751


What is datasource c#?

661


Write down the c# syntax to catch an exception

703


Can we write class inside a class in c#?

711


What is the difference between internal and private in c#?

705


What is yield keyword?

686


When should you use generics?

698


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

716


Name which controls do not have events?

794


What is the difference between CONST and READONLY?

764


Is enum a class c#?

677


Write a program to find the angle between the hours and minutes in a clock

697


Explain About multi level and multiple inheritance how to achieve in .net

794