adspace


Why is it efficient to use System.string under System.Text.StringBuilder ?

Answer Posted / Jinkal Chaudhary

Using System.Text.StringBuilder instead of System.String for concatenating strings in C# can improve performance because StringBuilder is designed to handle string manipulation more efficiently, especially when dealing with large amounts of text.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an abstract class c#?

981


What is expression tree in c#?

1008


Why can't we use a static class instead of singleton?

963


How do you inherit a class into other class in c#?

1002


Which namespaces are necessary to create a localized application?

1151


How to assign Null value to Var?

1074