Created
May 3, 2012 00:07
-
-
Save Porges/2582077 to your computer and use it in GitHub Desktop.
revised using statement transform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
Slow slow = null; | |
try | |
{ | |
slow = new Slow(); | |
} | |
finally | |
{ | |
if (slow != null) | |
{ | |
IDisposable disposeMe = slow; | |
slow = null; | |
disposeMe.Dispose(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment