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
What are the different types of assemblies available and their purpose?
Which class comes after the SortedList class?
What is a delegate? How can it works?
What is javascriptserializer c#?
What is a generic method?
what is the index value of the first element in an array?
Why attributes are used in c#?
What are modifiers in c#?
the c# keyword .int. Maps to which .net type?
What is foreach loop in c#?
What is array and its types in c#?
How Is The Dll Hell Problem Solved In .net?
Explain the features of an abstract class in net.
What is meant by enumerable in c#?
In .Net, what is an assembly? Also explain the type of assembly.