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#:
try
{
    // something
}
catch
{
    // do something else
}

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!