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




Explore posts in the same categories: C# Interview Questions


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


Comments are closed.