Microsoft Visual C#, C#.Net Interview Questions and Answers
C#.Net C#, ADO, ASP, Frequently asked questions
Wednesday, June 24, 2009
What's the C# equivalent of C++ catch (…), which was a catch-all statement for any possible exception?
A catch block that catches the exception of type System.Exception. You can also omit the parameter data type in this case and just write catch {}.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment