Strona głównaSztuka programowania

This time I would like to point out the behavior, that should be absolutely clear to any C# developer. When an exception is thrown inside try..finally block (without catch), and consequently in the scope of a using statement, it is bubbled up to the caller, rather than handled in any way.

Tagi: C#
Źródło: blog.pjsen.eu
Dziel się z innymi:
[EN] Little semantic pitfall of try..finally

Sztuka programowania 3886 dni, 4 godziny, 3 minuty temu pjsen 100 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu