C# version of C predefined macros __LINE__
Is there an equivalent to the C predefined macros of __FILE__
and __LINE__.
in C I could do report do something like this:
errLog(__FILE__, __LINE__);
This was very useful in determining unusual behavior.
Thanks
Jlr
|