String.Format Isn't Suitable for Intensive Logging

added by liranc
8/1/2010 2:24:24 PM

0 Kicks, 54 Views

Unlike the common conception, the StringBuilder class doesn't always offer better performance/memory usage results than other string concatenation methods (Join, Concat or the +operator). This post benchmarks the alternatives and explains the key differences between them.