What is the Main difference between String and
StringBuilder and why do we use StringBuilder.
Answer Posted / swati
In stringBuilder we can modify original value
example: suppose a string "Swti" in that string we add a
after charator w then we can easily add the char a after w
then new string is "Swati"
But in string we can't modify original value we add add
another value in original value use concate function.
example: suppose a string is "Swati" in that string we
concate another string means "Pandey" by using concate
function
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain about WSDL
What is binding in c#?
Explain the difference between pass by value and pass by reference.
What is system console writeline in c#?
what is IEquatable
Is string a class in c#?
What is parallel programming in c#?
What is ienumerable and iqueryable?
What is datasource c#?
Why do we need properties in c#?
What is appdomain in c#?
Explain acid rule of thumb for transactions in c#.
While debugging a C# application can you change the value of a variable?
what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?
What are the boolean data types in c#?