What is the difference between String And StringBuilder ?

 Posted by deccansoft on 7/29/2010 | Category: C# Interview questions | Views: 1267

For every modification we perform on the string, a new string will be created whereas StringBuilder does not create new object it modifies the existing one. Hence, if there is a need to perform multiple operation on string better choice is StringBuilder.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response