Which of these allows you to catch non-CLS compliant Exceptions?

1) catch(Exception ex)
{
Console.WriteLine(ex.Message);
}
2) catch
{
throw;
}

3) catch(IOException ex)
{
Console.WriteLine(ex.Message);
}

 Posted by Ddd on 3/13/2011 | Category: C# Interview questions | Views: 6146 | Points: 40
Select from following answers:
  1. 1
  2. 2
  3. 3
  4. None
  5. All Above

Show Correct Answer


| Alert Moderator 

Comments or Responses

Login to post response