What is the difference between System.String and
System.StringBuilder classes?
Answer Posted / mukesh
System.String is immutable. If your programe is going
concate more then two string then String class can do this
work easily but decrease programe funcationlity. This is
because when you are concate string that time it takes a
new momory allocated. But when you are using StringBuilder
then there is no new memory allocation.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is a enumeration in c#
Are arrays value types or reference types?
Can non-default constructors be used with single call sao?
What is string interpolation in c#?
Explain a MSIL ? Why is it appreciated by all developers?
What is extended class in c#?
In gridview in editmode if we want to display information in one combobox based on
Can you create sealed abstract class in c#?
What is an example of delegation?
What is window application in c#?
List the fundamental oop concepts?
What is a method c#?
What is the purpose of dictionary in c#?
How will you get the different language strings?
Explain the various types of classes used in c#?