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