3 ms·
The point being that an exception in C# can be any error. You can throw an exception if the weather is wrong. A panic is fundamentally something that should ne
by Philip-J-Fry 5y ago
The point being that an exception in C# can be any error. You can throw an exception if the weather is wrong.
A panic is fundamentally something that should never happen. You should catch panics at the root of your application for the sake of keeping the application running. But at no point should you ever expect a panic to be thrown like you would an exception. Errors are for that case.