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 is localhost in asp.net?
Which library is used by the testers and developers to develop automated tests and create testing tools?
Why asp.net is better than php?
how can we create wcf in asp.net and how can we cll that in to asp.net application?plsss tel me each step clearly
Differentiate between client-side and server-side validations in web pages.
What is ascx?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What are custom controls?
What is __ requestverificationtoken?
Explain the asp.net mvc request life cycle? : asp.net mvc
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
How would ASP and ASP.NET applications run at the same time on the same server?
Describe how to implement globalization and localization in the use interface in .net.
Explain about secure socket layer?
What is rending process in ASP.NET?