If there is no valid conversion between two types, what should you do when implementing the IConvertible interface?

 Posted by Raja on 9/24/2008 | Category: C# Interview questions | Views: 24927
Select from following answers:
  1. Delete the ToType member that performs the conversion.
  2. Throw an InvalidCastException.
  3. Throw a new custom exception reporting the error.
  4. Leave the member body empty.
  5. All Above

Show Correct Answer

Source: MCTS Book | | Alert Moderator 

Comments or Responses

Login to post response