Knowing the exceptions thrown by a method

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I would know how could I know what exceptions are thrown by a method in
code writing time. Is this possible? If yes, how?.
Thanks a lot
 
Juan María said:
Hi, I would know how could I know what exceptions are thrown by a method in
code writing time. Is this possible? If yes, how?.

Hi Juan, there are no checked exceptions in C#. You can read the
documentation to see what throws what, you 'll just have to trust the
documentation, or install .Net reflector and get digging :)

--
Regards,

Tim Haughton

Agitek
http://agitek.co.uk
http://blogitek.com/timhaughton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top