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 are the features of asp net?
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
What is the difference between GridView and Repeater controls in ASP.NET?
What are the namespaces used in asp.net mvc? : asp.net mvc
Define caching.
What are the differences between code behind and code inline?
is gateway for sms continue connected for sending sms.how?
What are directives in asp.net?
What is the difference between page-level caching and fragment caching?
What does aspcompat="true" mean?
What is difference in .net 1.1 and .net 2.0?
What are standard controls?
What does mean by a neutral culture?
What is a page life cycle? What are the events in a page life cycle?
What is the difference between application state and caching?