© { JSL }
77
Text Box: try catch
try catch
Folded Corner:
·you can separate out error handling code
win a catch { block } after a try { block }
wgoodbye HRESULT
try {  
    FileInfo source =
        new FileInfo(filename);
    int length = (int)source.Length;
    char[] contents = new char[length];
    ...
}
catch (SecurityException caught) {
    ...       
}
catch (IOException caught) {
    ...       
}
catch (OutOfMemoryException) {
    ...       
}
catch {
    ...
    throw;       
}
name is
optional
general
catch
block