What is the difference between System.String and System.Text.StringBuilder?

 Posted by deccansoft on 9/15/2010 | Category: C# Interview questions | Views: 1230

In String - everytime memory is allocated to new object.
In StringBuilder - the content is appended to string it will not instantiate everytime.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response