What is the Main difference between String and
StringBuilder and why do we use StringBuilder.
Answer Posted / dinesh sharma
String bulider Can Be Used When More Than One String Can we
concatenated.
StringBuilder which is more efficient because it does
contain a mutable string buffer. .NET Strings are immutable
which is the reason why a new string object is created
every time we alter it (insert, append, remove, etc.).
StringBulider Is more Effiecent Then String B'Cuse It
Provide Some Standered Function like Append,Reverse,Remove
etc.
| Is This Answer Correct ? | 179 Yes | 24 No |
Post New Answer View All Answers
Explain About sn.exe
What is difference between a constant and read-only in C#?
What is generic and non generic collections in c#?
Explain about c# language.
What is c# in asp net?
What is remote data?
What is lazy loading c#?
What is xaml file in c#?
What do you mean by shared assembly?
What's different between c# and c/c++?
What is marshalling in c#?
What is meant by console programming?
What is array and arraylist?
Why are strings immutable in c#?
Are c# references the same as c++ references?