Qus:    What are differences between system.stringbuilder and system.string?
Oct 24, 2020 08:37 2 Answers Views: 164 SAI
Prev Next
Answers (2)
NAIDU Oct 28, 2020 04:55
Answer:   The main differences between system.stringbuilder and system.string are:
o system.stringbuilder is a mutable while system.string is immutable.
o Append keyword is used in system.stringbuilder but not in system.string.

PARTH Nov 09, 2020 07:49
Answer:   StringBuilder is used to represent a mutable string of characters. Mutable means the string which can be changed. So String objects are immutable but StringBuilder is the mutable string type. It will not create a new modified instance of the current string object but do the modifications in the existing string object. The complete functionality of StringBuilder is provided by StringBuilder class which is present in System.Text namespace.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect