C Sharp (C#) - Exception Handling
You want to create a custom exception for your application that inherits from the correct base class for user-defined exceptions. Which class should you inherit from?
SystemException is for system errors; ApplicationException is intended for user-defined exceptions.ApplicationException is recommended to distinguish them from system exceptions.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions