What?s the advantage of using System.Text.StringBuilder over
System.String?



What?s the advantage of using System.Text.StringBuilder over System.String?..

Answer / guest

StringBuilder is more efficient in the cases, where a lot of
manipulation is done to the text. Strings are immutable, so
each time it?s being operated on, a new instance is created

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More C Sharp Interview Questions

how can i display crystal report in button_click? am working with VS2005..........plz help me

1 Answers  


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

0 Answers   HCL, NIC,


What is the difference between ref and out in c#?

0 Answers  


Can we assign null value to integer?

0 Answers  


What are circular references? How garbage collection deals with circular references.

0 Answers  






Is everything an object c#?

0 Answers  


what is the difference between interface and abstraction?

5 Answers   Choice Solutions, IBM,


Can a dictionary have duplicate keys c#?

0 Answers  


What do you mean by object pooling?

0 Answers  


What is dbcontext c#?

0 Answers  


Is lazy t thread safe?

0 Answers  


If you want to convert a base type to a derived type, what type of conversion do you use?

0 Answers  


Categories