1: | What is the base class for all exceptions in the .NET Framework? |
A1: | System::Exception. |
2: | What is the namespace that provides diagnostic classes such as the Trace and Debug classes? |
A2: | System::Diagnostics. |
3: | When is the finally code block called? |
A3: | It is executed after the code in the try block or after the code in the catch block that handles an exception. If no catches match the thrown exception, the finally block is called before the function exits. |
4: | What exception does the InnerException property contain? |
A4: | It points to the previous exception in a chain of exceptions. |
Top |