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 is hashtable in c# with example?
what is the difference between .dll and .exe
What types of object can I throw as exceptions?
What are the applications of c#?
What is difference between value and reference types in C#.NET
How is exception handling implemented in c#?
Explain the serialization in .net
What are the different types of comments in c#?
If you want to write your own dot net language, what steps you will u take care?
What are primitive types in c#?
what is a destructor?
Why we use extension methods in c#?
What is the difference between struct and class c#?
Explain manifest & metadata in c#.
What is the example of predicate?