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
Explain the difference between response.redirect vs server.transfer
What are user controls?
Explain a program using code nuggets to create a simple application? : asp.net mvc
What is the page life cycle in asp.net?
What is authorization in asp.net?
What are the namespaces used in asp.net mvc? : asp.net mvc
Give 2 examples for scenarios when routing is not applied?
What is the difference between sealed vs static class?
Define the term Web Garden?
How does viewstate work?
What is the difference between session and application?
is gateway for sms continue connected for sending sms.how?
What is difference between asp.net and asp?
What is true about application service provider?
What do you understand by aggregate dependency?