1.

What Types Of Object Can I Throw As Exceptions?

Answer»

Only INSTANCES of the System.Exception CLASSES, or classes DERIVED from System.Exception. This is in sharp CONTRAST with C++ where instances of almost any type can be THROWN.

Only instances of the System.Exception classes, or classes derived from System.Exception. This is in sharp contrast with C++ where instances of almost any type can be thrown.



Discussion

No Comment Found