why does Visual Studio not enforce try-catch-block implementation?
Posted
by
Pedro
on Stack Overflow
See other posts from Stack Overflow
or by Pedro
Published on 2011-11-12T01:44:55Z
Indexed on
2011/11/12
1:51 UTC
Read the original article
Hit count: 243
Coming from Eclipse/Java, I noticed that in VisualStudio/C# it is not mandatory to care about Exceptions. While Eclipse forces the user to implement a try-catch-block or to add a throws declaration, this is not the case in Visual Studio.
What is the reason Visual Studio doesn't inform about unhandled exceptions?
Can I configure Visual Studio to force me to implement try-catch-blocks, or at least add a compiler-warning?
© Stack Overflow or respective owner