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
Explain the difference between and xml documentation tag?
Distinguish between system.string and system.text.stringbuilder classes?
How long will it take to learn c#?
What is integer c#?
What do you mean by abstract class in c#?
Explain the constructor in c#.
How C# 4.0 supports dynamic programming language?
What are the variables in c#?
What is parallel programming in c#?
Is there a way to force garbage collection?
Is c# good for web development?
How does dictionary work in c#?
What are boxing and unboxing?
What is data type in c# with example?
What is Dependency of Injection?