try-catch error handling -- display line number where error occurred?

Posted by CSharp Noob on Stack Overflow See other posts from Stack Overflow or by CSharp Noob
Published on 2010-04-27T17:48:08Z Indexed on 2010/04/27 17:53 UTC
Read the original article Hit count: 198

Filed under:

Can someone please tell me how to get the line number of the code where the error occurred and display it to the console?

Thank you!

© Stack Overflow or respective owner

Related posts about c#