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 use of singleton class in c#?
Why do we need interface in c#?
What is thread pooling?
How can an inner class access the members of outer class?
What are the fundamental principles of oo programming?
What is concrete class in c#?
What is data reader in c#?
How can you force derived classes to provide new method implementations for virtual methods?
What is the default value of guid in c#?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
What is the .NET collection class that allows an element to be accessed using a unique key?
What is view model in c#?
What are callback methods in c#?
Can an int be negative c#?
What is the resgen.exe tool used for?