What’s the advantage of using System.Text.StringBuilder over System.String?

 Posted by Neeks on 2/21/2009 | Category: C# Interview questions | Views: 12057
Answer:

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.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Neeks