With this in mind, one could be tempted to use a custom try/finally block for handling this situation. Something like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 FileStream file = null; try { file = new FileStream
Check to see if an Antivirus is installed and updated in Visual Basic Checking for duplicate values in Strings Checking for multiple characters in a string Checking given date between two date without Year Checking if an object is not nothing Checking printer status in vb.net Checksum calculation...