Hour 13

   

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


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net