try{ } catch(ExceptionType1 ex1) { } catch(ExceptionType2 ex2) { } ... catch(Exception ex) { }
try { // Many types of exceptions can be thrown } catch (CustomException ce) { ... } catch (AnotherCustomException ace) { ... } catch (Exception ex) { ... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)