Interview question – How StringBuilder works internally?

Posted: March 24, 2014 in .Net Interview
Tags: ,

For a fresher level interview,it’s a very common question to ask about the difference between string and stringbuilder.I am sure,most of you know the one line answer for that.But when it comes to an experienced level,you need to really understand how exactly the string builder works and how the string builder object allocates memory.

Here is a good read on this topic.

http://msdn.microsoft.com/en-us/library/system.text.stringbuilder.aspx#HowWorks

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s