What is the Main difference between String and
StringBuilder and why do we use StringBuilder.

Answer Posted / tharaknlr

Strings are immutable means Data value maynot be Changed and
Variable value may be changed.
StringBuilder performs is faster than Strings. and also
designed for Mutable Strings
we can use like this
System.text.StringBuilder

Is This Answer Correct ?    89 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value of decimal in c#?

688


Explain About .NET Remoting and types of remoting

805


What is a shared assembly?

747


What is alias in c#?

738


What is the difference between an integer and int?

680


What is the difference between virtual and override in c#?

734


What are the classes contained in a single .NET DLL ?

696


What is the use of convert toint32 in c#?

721


What do you understand by the terms datareader object and dataset object?

736


What are the fundamental differences between value types and reference types?

777


Why singleton class is sealed in c#?

701


Explain the steps to create satellite assembly?

678


Is type nullable c#?

692


Is and as keyword in c# net?

736


How many types of interface are there in c#?

701