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
What is the default value of decimal in c#?
Explain About .NET Remoting and types of remoting
What is a shared assembly?
What is alias in c#?
What is the difference between an integer and int?
What is the difference between virtual and override in c#?
What are the classes contained in a single .NET DLL ?
What is the use of convert toint32 in c#?
What do you understand by the terms datareader object and dataset object?
What are the fundamental differences between value types and reference types?
Why singleton class is sealed in c#?
Explain the steps to create satellite assembly?
Is type nullable c#?
Is and as keyword in c# net?
How many types of interface are there in c#?