String Concatenation Conventional Wisdom

Interesting post on string concatenation, which challenges the conventional wisdom that I learned: it takes around 1,000 concatenations to make StringBuilder.Append() out-perform String::operator+. Johan's point is that you need to consider the effect of reallocations and GC on performance - it may well be that the classic test to loop through the operations and compare the running time is flawed.

— Gordon Weakliem at permanent link