What is the cost of try/catch(ayende.com)

submitted by rcashrcash(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.

add a comment |category: |Views: 4

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story