What is the advantage of using system.text.stringbuilder over system.string?



What is the advantage of using system.text.stringbuilder over system.string?..

Answer / Jagdeep Sharma

System.Text.StringBuilder offers performance advantages over System.String because it is designed to be mutable, allowing strings to be built incrementally without creating new objects. This reduces garbage collection and improves efficiency.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB.NET Interview Questions

i had attended to infosys interview on 17th april 2010...on .net..3+ experience .. to my knowledge i did well in technical and they asked me to wait for next process ..so i waited for 15 min ..later one person came and said give 7-10 days time for intimation of next process do they keep technical and hr on different day ...or i loose the interview ..am confused yaar please any say na what accuatly would be happend

4 Answers   Infosys,


What is DLL hell?

2 Answers  


Explain about visual basic.net?

1 Answers  


What is enumerator?

1 Answers  


how to call a list box on the text if some one send me the code for it

1 Answers  


What is an assembly and its use?

1 Answers  


What is difference between import system.data.sqlclient,system.data.oledb?

1 Answers  


What are the two main parts of .net?

1 Answers  


What is sealed class?

1 Answers  


What is branching logic control in VB.NET?

1 Answers  


Can you please explain the difference between namespace and assembly?

1 Answers  


write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.

1 Answers   College School Exams Tests,


Categories