Difference between string and stringbuilder?

Answer Posted / akash

using String
if u want to append the text then u prefer's this thing
string strTemp="a";
strTemp=strTemp+"jay";

But in case of StringBuilder
if u want to do the samething then u will get a append() function.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between package and interface?

497


What is the difference between structure and class in c#?

473


what is the difference between .dll and .exe

533


Explain the process of Serialization?

548


What is pure abstract class in c#?

458






Explain how do I convert a string to an int in c#?

520


What is c sharp used for?

496


What are the applications of c#?

474


What is callback in c#?

479


What is executereader in c#?

478


What does out mean in c#?

508


What does mean c#?

532


What is datareader c#?

497


What is the purpose of abstract class in c#?

494


Enlist the different types of classes in c#?

525