KyaPoocha.com

Huge Collection of Interview Questions


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 {}.



If you liked this question/asnwer, make sure you
Subscribe to KyaPoocha.com RSS feed!


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |