Represents an exception that is thrown when an attempt is made to divided by zero.
Object
Exception
SystemException
ArithmeticException
DivideByZeroException
[Visual Basic] Public Class DivideByZeroException Inherits ArithmeticException [C#] public class DivideByZeroException : ArithmeticException [C++] public __gc class DivideByZeroException : public ArithmeticException [JScript] public class DivideByZeroException extends ArithmeticException
The DivideByZero class is an exception class for bad arithmetic conditions. Dividing by zero is not an approved arithmetic operation.
Namespace: System
Assembly: mscorlib.dll