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 |
What is the use of regex in c#?
Why do we use public static void main in c#?
How is exception handling implemented in c#?
Can a class have more than 1 destructor?
Can a dictionary have the same key?
What are the 3 different types of arrays?
What is dbml file in c#?
How to use the sreamReader class to read form a text file?
What are destructors in C#?
1 Answers TryTechnicals Pvt Ltd,
What is generic collection in c#?
What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default
Is it possible to have a static indexer 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)