Multiple Choice
What happens when you divide a floating-point value by 0 in C#?
A) No exception occurs, and the special value Infinity is returned as the result.
B) The program will throw an exception of type System.DivideByZeroException.
C) The program will catch the exception, and return Undefined as the result.
D) The program will crash.
Correct Answer:

Verified
Correct Answer:
Verified
Q3: When you write a method that catches
Q4: Errors you discover when compiling a program
Q5: What method is overridden by the Exception
Q6: Why might a finally block be necessary?
Q7: The int version of the TryParse() methods
Q9: The following example shows how a programmer
Q10: When writing a block of code in
Q11: An exception of the _ class is
Q12: What class should you extend in order
Q13: The Environment.Exit() method is part of what