There are three types of errors in C# that can be occur in your application. These are:- • Syntax Errors • Runtime Errors or Exceptions • Logical Errors System Errors Syntax errors occur due to …
Read More »Errors and Exceptions Handling In C#
Exceptions In C#
System.Exception is the base class for all other exceptions. Below this level are the System.ApplicationException and System.SystemException classes which are derived from the System.Exception class. The SystemException class acts as the base class …
Read More »Creating Custom Exceptions In C#
User defined exceptions can be created by deriving from the System.ApplicationException class or from any other system defined class. You can also derive Exceptions from these user-defined classes. The ultimate thing is that the new …
Read More »