What is the cost of try/catch(ayende.com)
submitted by
rcash(4149) 8 months, 11 days ago
This article discusses the question about the cost of using try/catch blocks and performace. Take a look here: http://msdn.microsoft.com/en-us/library/ms973839.aspx#dotnetperftips_topic2. There is no cost to try/catch. The only cost is when an exception is thrown, and that is regardless of whether there is a try/catch around it or not.
|category: C#
|Views: 4
tags:
C# another
Everyones tags:
Your Tags: