What is the difference between StringWriter and StringBuilder and when should I use one or the other?
StringWriter
StringBuilder
StringBuilder is used to mass string concatenation. It's more effective for more then 5 string, As far as i know, then String.Concat(). Also it can be used with specific format (.AppendFormat())
String.Concat()
.AppendFormat()