What is the purpose of the catch block in the following code?
try {
// Code that might throw exceptions of different types
}
catch {
// Code goes here
}
Correct Answer: This catch block can be the last one in a series of catch blocks to handle any exception which is not handled by the preceding catch blocks, each of which handles an exception of a particular type.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C# MCQ Questions