Which of the following statements is true regarding the code samples below?
A:
try {
// code goes here
} catch (Exception e) {
throw e;
}
B:
try {
// code goes here
} catch (Exception e) {
throw;
}
Correct Answer: A will lose the call stack trace information. B will preserve the call stack trace information.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C# MCQ Questions