Tuesday, April 21, 2009

What is the difference between “string” and “StringBuilder”?

In .NET string is immutable and StringBuilder holds mutable string. When we require performing number of concatenation on string, it is recommended to use StringBuilder instead using string.

Details: http://msdn.microsoft.com/en-us/library/system.text.stringbuilder.aspx

No comments: