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 |
Can a class be private in c#?
What is difference between interface inheritance and class inheritance ?
What is difference between function and method in c#?
Value Type and Reference Type Data type in C#?
What is the difference while using directive vs using statement ?
Difference between direct type casting and using "as" keyword?
Distinguish between continue and break statement?
What is the difference between array and list in c#?
What is the difference between an integer and int?
Can we change static value in c#?
Can you change the value of a constant filed after its declaration?
What will be the output of the following code?
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)