MCQs > IT & Programming > C# > Consider the following catch block: try { // code that throws an Exception } catch( Exception e) { // Question: What is the difference between throw e; // and throw; }

C# MCQs

Consider the following catch block: try { // code that throws an Exception } catch( Exception e) { // Question: What is the difference between throw e; // and throw; }

Answer

Correct Answer: "throw" preserves the stack trace of the originating exception.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More C# MCQ Questions

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it