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 are escape sequences explain with example?
Name the method of servicebase class?
What is int32 maxvalue?
What is difference between gridview and form view?
What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?
What is c# entity framework?
How will you deploy the dll file in gac?
Explain namespaces in c#.
What is the difference between hashtable and dictionary in c#?
What is difference between the "throw" and "throw ex" in .net?
Is c# pass by value?
What is the use of the dispose method in C# ?
Which technology is best for desktop application?
What is binding in c#?
Name any three ways to pass parameters to a method in c#?