1.)system.string is immutable but system.stringBuilder is
mutable.
Immutable means once we created we cannot modified. Suppose we want give new value to old value
simply it discarded the old value and it will create new instance in memory to
hold the new value.
2.)append keyword is used in string builder but not in
system.string.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.