C#'s
try statement
is similar to that of Java.
However, a catch clause can omit the name of its parameter as in:
catch(IndexOutOfRangeException)
{
...
}
If you wish to catch any exception,
the type of the parameter and the parentheses may also be
omitted:
catch
{
...
}