No exception handling power?

Java programming in Eclipse, I'm used to dealing with exceptions. In C # with VisualStudio, it seems that I cannot say "exception exceptions" in a method ... After a lot of encodings, I found many exceptions and had to catch them when I found them during testing. I would like to get them to process them, so VisualStudio might say that you need a catch here, or I'm not going to let you go. Is it possible?

thank

+5
source share
4 answers

No. C # does not force you to handle exceptions. It was a convincing design decision by the language developers.

, , . , , #.

+8

#. :

1) , , , , . , "" dev.
2), , , , , ,

3) #/Framework - . Studio Object Browser, , .

+2

, .

, .NET-, MSDN: , , , . , .

0

, . , .NET 4 " ", , , .

0

All Articles