WHAT IS THE DIFFERENCE BETWEEN STRING AND STRING BUILDER ?

Answer Posted / sharifuddin

StringBuilder is a mutable, means no need to create new
variable,
But in string it is immutable, means reverse of string
builder each and every time new object for every new object
exist.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create events for a control? What is custom events? How to create it?

734


What is gac? How to put assembly in gac?

746


What is difference between .net and c#?

680


the c# keyword .int. Maps to which .net type?

928


What is a string in c#?

652


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1878


What is a cshtml file?

702


Why do we Need of static class in c#?

811


What is the use of ienumerable?

647


What do you mean by default constructor?

811


What is the difference between add and addrange in c#?

739


Is a decimal an integer?

656


What is Dependency of Injection?

704


Is struct object oriented?

653


Is string passed by reference in c#?

690