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
Are c# objects passed by reference?
Describe an abstract class?
Can properties be overloaded in c#?
What is deadlock in c#?
When is a class declared as a class abstract?
What does static mean in c sharp?
Can you create an instance of a static class?
What namespace is list in c#?
who is a protected class-level variable available to?
Enlist the different types of classes in c#?
What is a helper method in c#?
Is array ienumerable c#?
What is strong name in c# and how can we use it?
What is throw in c#?
Why do we need nullable types in c#?