Why do we use stringbuilder in c#?
Answer / Nitin Dwivedi
We use StringBuilder in C# for efficient handling of dynamic strings. It is useful when you need to frequently concatenate or manipulate strings, as it avoids unnecessary memory allocations associated with the creation of new strings. This leads to better performance, especially when dealing with large amounts of text.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we declare class as protected?
Where do you add an event handler ?
Wcf and what is difference between wcf and web services?
What is a c# delegate?
What are the types of methods in c#?
What is inheritance in csharp?
what is collections in .net? why we use?
What are anonymous functions in c#?
7.What are typed data set?
What is as keyword in c#?
Which is better javascript or c#?
Why do we need static 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)