My new book ASP.NET Core in Action, Second Edition is available now! It supports .NET 5.0, and is available as an eBook or paperback. You even get a free copy of the first edition of ASP.NET Core in Action!
In this series I look at the source code behind StringBuilder, show how it is used to reduce allocations, and dig into some internal optimisations…
In this post I compare several different ways to call a constructor using reflection, and benchmark them to see which is fastest.…
Stay up to the date with the latest posts!