What is the Main difference between String and
StringBuilder and why do we use StringBuilder.
Answer Posted / mahesh
String and StringBuilder Both are classe for store the
strings.
String Builder is faster than String. String is immitable,
StringBuilder is mutable.
Is This Answer Correct ? | 28 Yes | 14 No |
Post New Answer View All Answers
What is the benefit of dependency injection c#?
What is inheritance c#?
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
To allow an element to be accessed using a unique key which .NET collection class is used ?
What is parse method in c#?
How do you specify a custom attribute for the entire assembly (rather than for a class)?
What is difference between first and firstordefault?
what is collections in .net? why we use?
Explain briefly the difference between value type and reference type?
Why singleton is sealed?
What is use of a HashTable in .NET?
Can you change the value of a constant filed after its declaration?
In c#, what will happen if you do not explicitly provide a constructor for a class?
How does insertion sort work?