Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.954 Beiträge
 
#1

C# Using Blocks can Swallow Exceptions | DigitallyCreated

  Alt 22. Sep 2011, 07:30
I got to the SafeUsingBlock extension method because of a nice StackOverflow thread on exceptions swallowed in a using block. Actually, you can broaden the case into a wider scope: in any language when you protect resources in a try finally block (essentially, a using will turn into an implicit try ...

More...
  Mit Zitat antworten Zitat