Home > DeveloperSection > Interviews > What’s the advantage of using System.Text.StringBuilder over System.String?

Posted on    October-25-2010 12:00 AM

 C# C# 
 1 Answer(s)
  1109  View(s)
Rate this:

Uttam Misra

Total Post:54

Posted on    October-30-2010 12:00 AM

StringBuilderis more efficient in the cases, where a lot of manipulation is done to thetext. Strings are immutable, so each time it’s being operated on, a newinstance is created.

Don't want to miss updates? Please click the below button!

Follow MindStick