Ravi Kumar
What’s the advantage of using System.Text.StringBuilder over System.String?
By Ravi Kumar in ASP.NET on Dec 05 2006
  • Amit Aggarwal
    Mar, 2016 10

    when you perform any operation on string then a new object is created and hence it is said that strings are immutable where as in StringBuilder same object is used again and again.

    • 0
  • Amit Aggarwal
    Mar, 2016 10

    when you perform any operation on string then a new object is created and hence it is said that strings are immutable where as in StringBuilder same object is used again and again.

    • 0
  • Rangoli
    Dec, 2006 5

    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.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS