What?s the advantage of using System.Text.StringBuilder over
System.String?
Answer Posted / susan
StringBuilder is more efficient in the cases, where a lot
of manipulation is done to the text. Strings are immutable,
so each time it is being operated on, a new instance is created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?
What is the object class in c#?
What does the dispose method do with the connection object?
How can you reference current thread of the method ?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
What is a derived class in c#?
What is the use of static members with example using c#.net.
What is the difference between dataset and datatable in c#?
State two different types of access modifiers.
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
Why linq is having select clause at the end?
What is the main usage of keyword “virtual†? How does it work for a method or property?
What are assemblies?
What is platform independence"?
What is difference between const and static in c#?