answersLogoWhite

0


Best Answer

String and StringBuilder classes are used to store string values but the difference in them is that String is immutable (read only) by nature, because a value once assigned to a String object cannot be changed after its creation. When the value in the String object is modified, a new object is created, in memory, with a new value assigned to the String object. On the other hand, the StringBuilder class is mutable, as it occupies the same space even if you change the value. The StringBuilder class is more efficient where you have to perform a large amount of string manipulation.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between System.String and System.StringBuilder classes?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What's the difference between Classes 375 377 and 379?

The difference between the Classes 375 377 and 379 is the services that are provided to the customer.


What is the difference between classes of IP addresses?

difference between ip address and class


What's the difference between the British Rail Classes 313 315 and 317?

The difference between the British Rail Classes 313,314 and 317 is the different locations in which they are used.


What is the most significant difference between the holdovers and animals in all other classes?

what's the most significant difference between the holdovers" and animals in all other classes. what's the answer.


What is Difference between C structers and classes?

through classes we can create objects and we can implemented businessmathods. in case of structres we can create streuctre variables but not methods this is the major difference


What is the difference between classes and structure?

Classes are expanded concepts of structures, and can hold functions along with variables and other information.


What is the difference between honor classes and regular classes?

Honor classes give you college credit, if you are stating from a High School standpoint. If not, honor classes give you more credits than regular classes.


What is difference between classes and modules?

i think module life cycle manage program..


What is Neto's Voodoo Figure trying to show the difference between?

the upper and lower classes


What is difference between links and association?

links are associated with objects and associations are associated with classes.


What is the difference between open university and distance university?

If we look classes wise open university conducts classes on part time basis.


What is the difference between fascist and communists?

Represented the wealty and supported a society with classes<---------------------<-----------------<-----------------------------------------------<-------------------------------------<----------------------------------------<----------------------------------------------<---------------------------------<---------------------------------------------------<----------------------------------------------<---------------------------------------------<----------------------------------------------------<-------------------------------------------<------------------------------------------------------<-------------------------------------------------<-----------------------------------------------------<--------------------------------------------<------------------------------------------------------------<----------------------------------------------<------------------------------------------<----------------------------------------------<-----------------------------<-----------------<-----------------------------------<----------------------------------<----------------------------------------------<-----------------------------------------<------------------------<---------------------------------------------<--------------------------------------<------------------------------<-----------------------------------<---------------------------------<---------------------------<---------------------------------<-----------------------------------<----------------------------------<------------------------------<-----------------------------------<----------------------------------<------------------------------------------------<-----------------------------------------------<------------------------------------------------<---------------------------------------------<---------------------------------------------------<--------------------------------------------------<---------------------------------------------<----------------------------------------------<---------------------------------------------<------------------------------------------------------<-------------------------->NOVA NET ANSWER