Skip to content

Instantly share code, notes, and snippets.

@claq2
Created January 21, 2015 17:48
Example of using the finally clause to clean up
try
{
SetupTestConditions()
}
catch (Exception ex)
{
Assert.Fail();
}
finally
{
TearDownTestConditions();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment