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
Give examples for value types?
What is uint c#?
Please explain value types and reference types used in c#?
What is difference between string and stringbuffer in c#?
What's the c# syntax to catch any possible exception?
Define multicast delegate? How it be used?
What will a loop recorder show?
What is a bool in c#?
What is a trace and asset? Explain some differences?
What is garbage collector and where should you use in .NET?
What is the real use of interface in c#?
Is the following code legal?
Why do we need properties in c#?
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
What is fcl in c#?