StringBuilder performance issues in .NET 4.0 and 4.5

I have recently discovered interesting behavior change of StringBuilder class introduced in .NET framework 4.0 (and remaining in 4.5). There is also a easy workaround once you know the behavior. Sample code exposing the problem Let’s use the following test code: static void TestStringBuilder(bool reuse) { StringBuilder sb = new StringBuilder(); Stopwatch stopWatch = new…

2

Setting up managed code debugging (with SOS and SOSEX)

In this post I want to share some basics on how to set-up managed code debugging in windows debugger. I’ll consider that reader already know basics about how to setup windows debugging. I’ll mainly discuss details about what and how need to be loaded in order to be able to use specialized extensions for managed…

0