Exception Handling and Performance

Possible duplicate:
Performance "Try" in C #

Hi, let's say two identical codes (func A, calling B, B, calling C, C, calling D, etc.) are available with the following slight difference: CODE 1: no attempt to complete the finally block is written to the code. CODE 2: Each method has a catch try block inside.

If an exception is not thrown, is there a difference in performance?

thank.

+3
source share

Source: https://habr.com/ru/post/1791458/


All Articles