What is the difference between string and stringbuilder in c#?
Answer / Anupam Saxena
"StringBuilder" is a mutable (changeable) version of "String". It's more efficient when you need to modify a string multiple times, as it avoids creating new strings for each modification. On the other hand, Strings are immutable in C#, so each modification creates a new string.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can you drink alcohol with a loop recorder?
Is null in c#?
what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?
What is the use of 'as' Keyword in C# ?
I have to create a windows application using C# .net to Modifiy the XML file. The application have to show the node and node value. plz help me.
What is expression tree in c#?
What is the solution if you need to manipulate sets of items?
What is the difference between int.parse and int.tryparse methods?
The int maps to which C# keyword in .NET type?
What is a generic in c#?
What are properties and indexer?
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
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)