Difference between string and stringbuilder?

Answer Posted / dsr

string is immutable.String and StringBuffer both are
classes.stringbuffer is mutable.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is uint64?

518


How do I move from one form to another in c#?

468


How can you reference current thread of the method ?

522


What is default constructor c#?

508


what is the meaning of Object lifetime in OOPS

537






Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).

485


What is mvc firstordefault?

482


What does writeline mean?

530


How can I get around scope problems in a try/catch?

479


Why do we use polymorphism in c#?

476


What is thread.sleep()?

516


How do you comment out code in c#?

459


What is a Assembly?

544


What is the implicit name of the parameter that gets passed into the class set method?

488


What do you mean by winforms in c#?

505