Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Using the same exception type in multiple catch blocks will not work: only the first will be run. Commented Jul 18, 2013 at 9:39
  • what if i have different exception objects? Commented Jul 18, 2013 at 9:40
  • Just checked: this is a compiler error (.NET 4.5/C#5). Use of different identifiers makes no difference. Commented Jul 18, 2013 at 9:42