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
How can I open ashx file in mobile?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.
Is there any limit for query string? Means what is the maximum size?
Why web api is better than wcf?
Explain managed code an un-managed code.
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
What is inproc mode in session?
What are web server controls in asp.net?
How do you sign out from forms authentication?
What is cas?
what is DLL Hell and how it is solved in .NET? please explain clearly??
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
9. Why should we hire you over the others waiting to be interviewed?
What are the different validators in asp.net?