Differences between system.stringbuilder and system.string
by
San
on
Jan 10, 2012
Category:
C#.NET
|
Level:
Beginner
|
Views:
74
|
Points:
25
|
Bronze ★
|
|
|
The main difference is system.string is immutable and system.stringbuilder is a mutable. 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. Append keyword is used in string builder but not in system.string.
|
Like this question? Bookmark and Share:
 « Previous Question | Next Question »
|
|
|
|
No Response found!
|
|
|