What is the Main difference between String and
StringBuilder and why do we use StringBuilder.
Answer Posted / tharaknlr
Strings are immutable means Data value maynot be Changed and
Variable value may be changed.
StringBuilder performs is faster than Strings. and also
designed for Mutable Strings
we can use like this
System.text.StringBuilder
Is This Answer Correct ? | 89 Yes | 25 No |
Post New Answer View All Answers
What namespace is list in c#?
Explain the difference between abstract class and interface.
What is different between Implicit conversion and Explicit conversion in C#?
What is the purpose of dictionary in c#?
What is the data provider name to connect to access database?
What is Event - Delegate?
You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?
What is the real use of interface in c#?
What is the difference between list and arraylist in c#?
What is the use of the dispose method in C# ?
What is the use of static in c#?
What are partial types in c#?
How big is an int16?
What are escape sequences explain with example?
What are nested classes in c#?