Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C# Questions 16. Suppose the catch block for an exception E prints the value ot

ID: 3701405 • Letter: C

Question

C# Questions

16. Suppose the catch block for an exception E prints the value ot E as in: Console.WriteLine ("(O)",E) What does not happen as a result? A. The name of the exception is printed. C. The name of the method throwing the exception is printed. ception is printed. D. The names of the variables in causing the exception are printed. 17. How do we create a MysqlDataReader object? A. We use a constructor: MysqlDataReader MyReader new MySqlDataReader ): B. It is the return value of the ExecuteScalar method. c. It is the return value of the ExecuteQuery method. D. It is the return value of the ExecuteReader method.

Explanation / Answer

Question 16
Answer:

D. The names of the variables in causing the exception are printed.

Question 17
Answer:

D. It is the returns value of the ExecuteReader method.