If I can catch a more specific exception do I prevent the clr from doing extra work and benefit performance wise ? So if I know I might get a socket exception but do not care about handling it differently than some other exception is it better to still have the more specific catch ? I am working on the MicroFramework so small improvements in performance and resources are worth asking about.
catch (System.Net.Sockets.SocketException netEx)
{
}
catch (Exception ex)
{
}