Hi.....
Ques: What's the C# equivalent of C++ catch (…), which was a catch-all statement for any possible exception?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Dec 16, 2011, 12:46 AM
Yes, a (1) catch all is better than (2) catching specific errors without a catch all but (3) catching specific errors followed by a catch all is best.
theLizardPosted Dec 16, 2011, 12:32 AM
VulpesPosted Dec 15, 2011, 6:20 PM
Sam HobbsPosted Dec 15, 2011, 4:37 PM
VulpesPosted Dec 15, 2011, 4:43 AM
Satyapriya NayakPosted Dec 14, 2011, 11:22 PM
http://www.c-sharpcorner.com/Forums/Thread/151135/which-was-a-catch-all-statement-for-any-possible-exception.aspx
http://www.coolinterview.com/interview/41547/
Thanks