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

Can we inherit class that contains only one private constructor?

703


What is a linked list c#?

679


Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?

712


Can we store different data types in arraylist in c#?

658


Where are value types stored in c#?

725


What is querystring in c#?

681


What are sorted lists?

678


Define delegation in .net?

657


What is a Managed Code??

721


What is a delegate how is it type safe?

642


What is the difference between values and reference types?

683


Is php better than c#?

664


Can constructor be private c#?

634


What is an array of arrays called?

600


Explain briefly the difference between value type and reference type?

738