Thursday, 22 October 2009

Difference between catch(Exception ex) and catch

try
{
}
catch(Exception ex)
{
//Catches all cls-compliant exceptions
}
catch
{
//Catches all other exception including the non-cls compliant exceptions.
}