What's the advantage of using System.Text.StringBuilder over
System.String?
Answer Posted / abhinay kumar
stiringbuilder is mutable but string is immutable
i.e mutable means that if we define a variable with
stringbuilder and assigne the value to another
stringbuilder variable and if we change the value then the
reflaction will be seen on the both variable (it made
change on the same memory location reference)
immutable means if we define a variable with string and
assigne the value to another string variable and if we
change the value then the reflaction will not be seen on
the both variable
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are client activated objects?
What is the use of autowireup in asp.net?
What does clearing cache?
Why viewstate is used in asp.net?
When we use cookie less session? Explain its working?
What is the difference between abstract class vs interface? Can give me the real time examples?
What is session management in web application?
Is web config mandatory?
What is Pre-Render event in ASP.NET?
What are the server control tags in asp.net.?
What are cao and sao.
Demonstrate Render and PreRender?
Explain login controls.
What is the difference between server-side scripting and client-side scripting?
Why is this service branded with windows livetm?