Which framework exceptions should every programmer know about?
.net, c#, exception
Solution
There are still some missing from your list.
This link is a good addition to your list :
msdn common Exceptions
Common Exception Types
Problem
I've recently started a new project in C#, and, as I was coding some exception throw in a function, I figured out I didn't really know which exception I should use. Here are common exceptions that are often thrown in many programs : - ArgumentException - ArgumentNullException - InvalidOperationException - DivideByZeroException - FileNotFoundException - ... Are there any framework exceptions you often use in your programs ? Which exceptions should every .net programmer know about ? When do you use custom exception ? EDIT : In order to clarify the topic, the original question was more about "which exception can I throw ?" than "what kind of exceptions should I catch ?".