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

Why is c# used?

559


How do you read an Excel sheet in C#?

628


Is a dll an assembly?

560


What is boxing & unboxing?

659


What is type class in c#?

572






Is the following code legal?

651


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

604


List the fundamental oop concepts?

606


Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?

574


Is c sharp open source?

571


What is session state in asp net c# with example?

543


How to get the sum of last 3 items in a list using lambda expressions?

598


List down the differences between public, static and void keywords?

543


What is the use of tryparse in c#?

554


What does console readline do in c#?

564