In .NET, an exception is represented by an object instance with properties to indicate where in the code the exception was encountered and a brief description of what caused the exception. In this article, I'll show you how to implement and use custom exception types in C#.