.NET Strings are immutable. StringBuilder should be used to better performance. Blah… Blah… Blah… You’ve heard it all before, but what you might not know is how StringBuilder dynamically allocates its capacity. The simple answer is StringBuilder will double its capacity when its capacity is reached. In other words, if you add 1 byte to [...]
Continue reading about StringBuilder Required Capacity Algorithm