Which framework exceptions should every programmer know about ?
- by Thibault Falise
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
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 ?