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

Answer Posted / swapna

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is generic method in c#?

667


Define multicast c# delegate?

728


Can you have more than one namespace in c#?

665


Explain the serialization in .net

725


In howmany ways can you deploy an assembly?

706


What is a jagged array?

693


What is the file extension for c#?

694


Wcf and what is difference between wcf and web services?

697


Are tuples mutable c#?

645


What is different between Boxing and Unboxing?

764


What are the benefits of using windows services:

743


Define acid rule of thumb for transactions in c#.

653


How do I do implement a trace?

758


What is a thread c#?

665


What is a multi line comment?

732