--

"Did you know that in C# you can define your own exception types and catch based on the type? " - I'll assume that's a rhetorical question.

"The problem is the caller must know which exceptions to handle." - how do custom exceptions help exactly?

I still have to know `MyExceptionType` exists and write an explicit try-catch to handle that case.

--

--