What?s the advantage of using System.Text.StringBuilder over
System.String?
Answers were Sorted based on User's Feedback
Answer / rahul
StringBuilder is more efficient in the cases, where a lot
of manipulation is done to the text. Strings are immutable,
so each time it?s being operated on, a new instance is created.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / 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 |
Answer / 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 |
How many types of polymorphism are there?
What is predicate builder?
What is manifest ?
Can you allow class to be inherited, but prevent the method from being over-ridden?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
Why abstraction is used in c#?
What is function c#?
Explain the importance and use of each, version, culture and publickeytoken for an assembly.
What is the difference between ref & out parameters in c#?
Explain inheritance in c#?
How many types of inheritance are there in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)