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

Answer Posted / rahul

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

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create a single-file assembly?

685


What is the xml document structure?

672


What is a float?

651


Why do I get an error (cs1006) when trying to declare a method without specifying a return type?

703


What is a multicast delegate in c#?

739


what is an event? Define delegate?

724


What is thread life cycle in c#?

674


What are generics in c#.net?

781


Why do we use abstract class in c#?

721


Define a jagged array in c#?

649


What are abstract classes in c#?

665


What is mvc pattern in c#?

689


List down the reason behind the usage of c# language.

863


If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?

768


What is the difference between throw and throw ex?

641