Home » Unlabelled » What’s the advantage of using System.Text.StringBuilder over System.String? | C#.Net Interview Questions
Sunday, 28 April 2013
What’s the advantage of using System.Text.StringBuilder over System.String? | C#.Net Interview Questions
StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time a string is changed, a new instance in memory is created.
No comments:
Post a Comment