What is the diff between System.String and System.Text.StringBuilder classes?



What is the diff between System.String and System.Text.StringBuilder classes?..

Answer / Ramesh Pal

'System.String' is an immutable class, meaning once created it cannot be changed. In contrast, 'System.Text.StringBuilder' is a mutable class, designed for efficient modification of strings.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do I do implement a assert?

1 Answers  


What is uint c#?

1 Answers  


What is view state c#?

1 Answers  


coding for delegates?

3 Answers   Tech Mahindra,


Is c# used for any core features of windows vista?

1 Answers  


What is writeline in c#?

1 Answers  


What is gui in c#?

1 Answers  


What are sorted lists?

1 Answers  


What is the purpose of ienumerable in c#?

1 Answers  


Why do we need oops in c#?

1 Answers  


Is c# an array?

1 Answers  


Oops concepts ?

2 Answers   Accenture, Digital GlobalSoft,


Categories