Astrila!

[On The Run Mix]

Subscribe

Friday, July 15, 2005

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

0 Comments:

Post a Comment

<< Home