What type of exception would be thrown if the following arithmetic were performed? double aValue = 0,
Question:
What type of exception would be thrown if the following arithmetic were performed?
double aValue = 0, bValue = 0;
int result = (int) aValue / (int) bValue;
a. FormatException
b. Invalid.CastException
c. ArgumentException
d. DivideByZeroException
e. none of the above
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285856872
5th Edition
Authors: Barbara Doyle
Question Posted: