What?s the advantage of using System.Text.StringBuilder over
System.String?
Answer Posted / kirti
StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable, so each time it's being operated on, a new instance is created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is property in c#?
What are functions c#?
What are the namespace level elements?
Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?
Suppose two interfaces have same method, so how will you implement these methods in derive class?
Why do we need generics?
When can a derived class override a base class member?
What is the difference between dynamic type variables and object type variables in c#?
Please explain value types and reference types used in c#?
What are the Types of configuration files and their differences
What is the use of the dispose method in C# ?
code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.
What is method overriding in c#
How do you declare a variable in c#?
Is double a decimal?