What are differences between system.stringbuilder and system.string?
2125
20-Nov-2014
Sumit Kesarwani
20-Nov-2014The main difference is system.string is immutable and system.stringbuilder is a mutable. Append keyword is used in string builder but not in system.string.
Immutable means once we created we cannot modified. Suppose if we want give new value to old value simply it will discarded the old value and it will create new instance in memory to hold the new value.