What is the difference between System.String and
System.StringBuilder classes?
Answer Posted / anonymous
The performance of your program is improved by using String
builder. When trying to concatenate old string + new
string...A new memory is allocated for the new string and
the old one is copied onto the new one. This is quite a
lengthy procedure, though it happens internally, it will
have a major impact on the performance of your program. To
overcome, this problem you can go for String builder.
| Is This Answer Correct ? | 23 Yes | 0 No |
Post New Answer View All Answers
What does f mean in c#?
What is difference between managed and unmanaged code?
Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.
What is the difference between ienumerable and enumerator?
What does console mean c#?
What is difference between method overriding and method overloading?
How to find whether the application is run from inside ide or not?
What are custom exceptions? Why do we need them?
What does return do in unity?
What is typeof undefined?
What is the difference between constants and read-only?
What does the dispose method do with the connection object?
Explain hash table in c# ?
Why constructor is used in c#?
What is the difference between array and list in c#?