Interview Questions

What’s the difference between System.String and System.Text.StringBuilder classes?

C# Interview Questions and Answers


(Continued from previous question...)

156. What’s the difference between System.String and System.Text.StringBuilder classes?

System.String is immutable. System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.

(Continued on next question...)

Other Interview Questions