Difference between String and Stringbuilder reference types?

 Posted by Sisodia.nikhil on 11/25/2008 | Category: .NET Framework Interview questions | Views: 16921

System.string provides a set of members for working with text.Like search,replace,concratinate etc.. and strings of type system.string are immutable(that means any change to string causes a runtime to create a new string and abandon old one).
System.stringbuilder is used to dynamic strings which are mutable also.these string classes also overrides operators from System.object.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Sisodia.nikhil