What?s the difference between System.String and
System.StringBuilder classes?
Answer Posted / naveen
prefer System.StringBuilder when you are doing lot of
string manuplation operations. In which case the same
string in the memory is manipulated for the resultant
operation where as when System.String variable is used
every time a new string instance is created in the memory
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
What is the use of system.environment class in c#.net?
how to print invert pyramid in c#
How do you access a constant field declared in a class?
Explain the difference between Response.Write () and Response.Output.Write ().
What is alias in c#?
What is different between Boxing and Unboxing?
What are constructors in c#?
Is array a collection c#?
Define an abstract class?
What is the benefit of dependency injection c#?
Why do we need delegates in c#?
What happens if you add duplicate elements to a set?
What are strongly typed objects?
What does addressof operator do in background ?
Why do we use anonymous method in c#?