WHAT IS THE DIFFERENCE BETWEEN STRING AND STRING BUILDER ?
Answer Posted / sharifuddin
StringBuilder is a mutable, means no need to create new
variable,
But in string it is immutable, means reverse of string
builder each and every time new object for every new object
exist.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can a constructor have a return type?
What is the signature of a method?
Give an example of removing an element from the queue?
Is var a data type?
What are native methods?
Why main method is static in c#?
What are instance fields in c#?
What is datareader c#?
What is difference between static and constant variable?
Whats an assembly? Describe the importance of assembly?
Wcf and what is difference between wcf and web services?
What is oledbconnection c#?
Explain about finalize method?
What is the difference between static and private constructor in c#?
What are the different types of literals in c#?