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 the size of Get method and how much data it can store?
When cookie will expire?
Explain the namespace classes used in asp.net mvc? : asp.net mvc
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
What’s the difference between asp.net web forms and asp.net mvc?
Explain about asp.net caching?
Define msil.
What is Forms Authentication in ASP.NET?
What is the main differences between asp and asp.net?
Can one dll file contains the compiled code of more than one .net language?
To display data in a Repeater control which template you provide?
How do I upload a file from my ASP.NET page?
Which is better session or viewstate?
Explain the difference between inline and code behind - which is best in?
What are the disadvantages of using session?