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 when should you call the garbage collector in .net?
What is extended class in c#?
What is xml c#?
Is javascript harder than c#?
Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!
What is lazy loading entity framework?
Is int a struct in c#?
What is difference between yielding and sleeping?
Can we call server-side code (c# or vb.net code) from javascript?
What is difference between C# and VB.NET?
How do I create a new form in c#?
How many digits are in an integer?
What is serializable in c#?
What is the use of xmlserializer?
How do I enforce const correctness in c#?