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 strong name in c#?
4. Describe the process when we send a request URL? And who is responsible for that?
what is difference between is and as operators in c#?
Can abstract class be instantiated c#?
Why do we need oops in c#?
What is executescalar in c#?
If you define a user defined data type by using the class keyword, is it a value type or reference type?
What does dbml stand for?
What is data dictionary in c#?
When should you use generics?
Is an array an object c#?
what is scope of a protected internal member variable of a c# class
What is string method in c#?
What are methods c#?
What is polymorphism in c sharp?