Why is UnhandledExceptionEventArgs.ExceptionObject an object and not an Exception?
I am attaching to AppDomain.UnhandledException.
I would like to cast UnhandledExceptionEventArgs.ExceptionObject to an Exception and interogate it.
And with this in mind will it ever be null?
The MSDN documentation is not exatly useful.
Gets the unhandled exception object.