Squak !

Measuring the Overhead of Exceptions

Someone mentioned to me lately that I shouldn't use exceptions in C# to control flow, because it imposed a lot of overhead. I thought about this for a minute and I realized that it is probably true, but to what extent ? I had no idea. So, I decided to measure it.