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 debugging tools come with the .NET ssSDK?

686


What is the importance of closing an ado.net application?

475


In which order the constructor is called for an inherited class?

528


How does the lifecycle of Windows services differ from Standard EXE?

512


How big is an int in c#?

501






What is difference between static and readonly in c#?

440


What is generic collection in c#?

495


How to override a function in c#?

537


Why do we need a singleton class?

498


Can arraylist store different data types in c#?

466


How can you use abstract class and interface?

532


What is the difference between throw and throw ex?

464


Name the two classes are required for implementing a windows service?

542


Is it possible to execute multiple catch block for a single try statement?

579


What are indexers in c# .net?

518