More pseudo-registers

April 30th, 2008

There is another pseudo-register useful when working with C# language:

$exception

It contains last exception that is thrown by an application.
Suppose that we have code like this:

C#:
  1. try
  2. {
  3.     // something
  4. }
  5. catch
  6. {
  7.     // do something else
  8. }

with $exception pseudo-register you can easily examine it:

exception

Leave a Reply

Designed by SirMike © All rights reserved

Valid XHTML 1.0! Valid CSS!

Powered by Rootnode