Finally Runs Even If Method Returns
using (DisTest o = new DisTest())
{
return;
}
OR
Dim o As DisTest = New DisTest
Try
Return
Finally
o.Dispose()
End Try
using (DisTest o = new DisTest())
{
return;
}
OR
Dim o As DisTest = New DisTest
Try
Return
Finally
o.Dispose()
End Try