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 do you escape c#?
What are the different types of classes?
What does Dispose method do with the connection object?
How much time will it take to learn unity?
What is an enumerator in c#?
Can an abstract class have a constructor c#?
What is a .exe extension files? How is it similar to .dll extension files?
Why singleton class is sealed in c#?
What does the keyword “virtual†declare for a method or property?
Please explain the basic string operations used in c#?
Why main method is static in c#?
Why dictionary is used 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)