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

Is there any sample c# code for simple threading?

626


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

1760


Is Multiple-inheritance supported by c#?

653


Can we inherit a class with private constructor in c#?

707


What is a console in c#?

562






What is the difference between “dispose” and “finalize” variables in c#?

571


What does an indexer do?

548


What is c# console application?

579


How can I check the type of an object at runtime?

627


Can we have two main methods in c#?

602


Why is it efficient to use System.string under System.Text.StringBuilder ?

606


what is difference between is and as operators in c#?

602


What is a event in c#?

539


Can properties be private in c#?

568


Explain how many types of exception handlers are there in .net?

569