C# 7: Micro-Benchmarking the Three Ways to Cast Safely

added by DotNetKicks
4/7/2017 12:53:16 PM

3 Kicks, 381 Views

As we saw in my previous post, there are three ways to cast safely in C# 7. In this post, I micro-benchmark the three methods of safe casting and dive into the IL to understand the differences.


0 comments