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 difference between stored procedure vs function?
What is app_code folder in asp net?
What are Master Pages in ASP.NET?
Explain the asp.net page life cycle.
How can you pass multiple complex types in Web API?
Apart from IDE what are the enhancements in asp.net 2.0?
what is meant by sitemapnode ?
What is the use of session state and application state and difference between them?
How does the iis work?
How do you create a master page?
Why is global asax is used?
What is the question mark in a url?
What is the difference between ASP.NET Webforms and ASP.NET MVC?
What are sharepoint pages?
What are the types of session in asp.net?