Go to DotNetFunda.com
 Online : 919 |  Welcome, Guest!   Login
 
Home > Interview Questions > C# Interview Questions > What’s the advantage of using System.Tex ...

  • Download the OOPS, ASP.NET and ADO.NET Training Videos for FREE, click here.

call for mock interview

C# Interview Questions

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

Author: Neeks | Posted on: 2/21/2009 12:41:00 AM | Category: C# | Views:1194 |  Print | Asked In: Many Interviews


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.

Interesting?   Share and Bookmark this


Navigate to:

 Submit Interview Questions

Class A { static byte a; static short b; static char c; static ...

When do you absolutely have to declare a class as abstract? ...

Random Interview Questions
Help: If for some reason you are getting the same question by clicking Next Question or Previous Question, Try clicking Categories link above.

Related interview questions



Advertisement

About Us | The Team | Advertise | Contact Us | Feedback | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found copied contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
All rights reserved to DotNetFunda.Com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)