System Namespace
The exception that is thrown when there is an attempt to divide an integral or decimal value by zero.
Dividing a floating-point value by zero will result in either positive infinity, negative infinity, or Not-a-Number ( NaN ) according to the rules of IEEE 754 arithmetic. Floating-point operations never throw an exception. For more information, see Single and Double.
DivideByZeroException uses the HRESULT COR_E_DIVIDEBYZERO, which has the value 0x80020012.
For a list of initial property values for an instance of DivideByZeroException, see the DivideByZeroException constructors.
Exception