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
How do you access a constant field declared in a class?
Is c# difficult to learn?
Is c# slower than java?
What is difference between events and delegates?
What is application c#?
What is Satellite Assemblies ?
What namespace is list in c#?
What are different types of classes in c#?
What is tryparse c#?
How are methods overloaded?
What is the components of window?
What is thread pooling?
What is the size of a decimal?
How can you force derived classes to provide new method implementations for virtual methods?
What is the use of 0 in c#?