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 procedure to handle the process request using mhpm events fired? : asp.net mvc
What are the elements of a website?
What is the difference between a cookie and a pixel?
Explain different types of validators in asp.net?
What is HTTPModule and HTTPcontext? What is the use of each?
What are the advantages of Web API?
What is asp net_sessionid?
Is asp.net easy to learn?
How does a content page differ from a master page?
What are the different types of proxy patterns?
How can we update records in gridview?Is there any appropriate code for it?
In early binding will the method invoked on com component will verify it?s existance in the system or not ?
Describe the difference between inline and code behind - which is best in?
what are the security certificates used in webservices?
Where is http session stored?