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
How many aware interfaces are there?
What is a function c#?
List out two different types of errors in c#?
Tell us something about static linking and dynamic linking?
What is anonymous method in c#?
What are circular references? How garbage collection deals with circular references.
Explain briefly the difference between value type and reference type?
What is windows application in c#?
Define Virtual folder?
explain the three services model commonly know as a three-tier application.
How can encapsulation be achieved?
Describe the overview of clr integration.
What is the delegates in c#?
What are the properties of a string class?
Is it true that all c# types derive from a common base class?