Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Try Catch - Good Practice?

$
0
0

Hello,

When I run my program, sometimes it throw a new exception.

Try Catch it's a good practice to solve problems?

What kind of "tricks" it can do?

For example, in some articles I see people with Try Catch and it runs perfectly on debug mode, but when run on release mode, the program don't show the MessageBox, it shows call stack.

But I tried and it shows messagebox on release mode.

Srry if I'm confused.

Regards, ADAE.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>