Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Wednesday, July 16, 2008

VB.NET Interview Questions 9

Will finally block get executed if the exception had not occurred?
Yes.



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:

Archives