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
Illustrate namespaces in c#?
What is the use of ienumerable?
How do I type a whitespace character?
What is as keyword in c#?
Can an exception be thrown from a catch block?
What is action c#?
How many types of constructors are there in c#?
What are collections in c#?
Explain the 3 types of properties in c# with an example?
the c# keyword .int. Maps to which .net type?
Can we overload indexer in c#?
What is namespace explain with example?
Does c# replace c++?
What is difference between int and int in c#?
Define satellite Assembly?