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

Answer Posted / sudha

System.string works on copy of string data.
System.Text.StringBuilder works on actuval string data

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is serialization in .net?

566


What do you mean by directing?

493


What is a hash table c#?

472


What is marshalling and what are different kinds of marshalling?

505


How do you specify a custom attribute for the entire assembly?

480






What is unmannaged code and will CLR handle this kind of code or not .

595


Can an abstract class have a constructor c#?

493


Are structs value types c#?

476


What is difference between list and ilist in c#?

470


How do I calculate relative time?

506


Explain inheritance in c#?

549


What is session management in c#?

537


Can a static class contain non static members?

556


What is the difference between internal and protected in c#?

439


What is multicast delegate in c# ?

525