Difference between string and stringbuilder?
Answer Posted / akash
using String
if u want to append the text then u prefer's this thing
string strTemp="a";
strTemp=strTemp+"jay";
But in case of StringBuilder
if u want to do the samething then u will get a append() function.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What are the advantages of generics in c#?
To allow an element to be accessed using a unique key which .NET collection class is used ?
Why do we use stringbuilder in c#?
Can I do things in il that I can't do in c#?
What is default value of decimal c#?
How objects are stored in memory?
Is a games console a computer?
How does inheritance work in c#?
Can we make a class private in c#?
What is difference between encapsulation and abstraction in c#?
What is the reason behind the invention of c#?
Can we inherit class that contains only one private constructor?
What is a scope in c#?
How do you create dlls in .NET
Why we use get and set method in c#?