What is the Main difference between String and
StringBuilder and why do we use StringBuilder.
Answer Posted / amit chaudhary
String and stringbuilder both methods are used to handle the
strings . the main differece between them in string
everytime a object has to be created for Operations like
append,Insert etc. at runtime but in case of stringbuilder
we can operate operations on same object. means the string
method is mutable and stringbuilder method is immutable
| Is This Answer Correct ? | 15 Yes | 20 No |
Post New Answer View All Answers
How main method is called in c#?
What are the benefits of using generics in c#?
Is Facebook a desktop application?
How do you declare an interface in c#?
How many types of constructors are there in c#?
What is interface inheritance in c#?
What is the use of static members with example using c#.net.
Explain About .Net remoting
What is serialization in c#?
Who benefits from ajax?
What is a decimal c#?
Can we inherit class that contains only one private constructor?
What is deferred execution?
write a C# Program add two matrix ?
Explain About .NET Framework