Select from following answers:- Delete the ToType member that performs the conversion.
- Throw an InvalidCastException.

- Throw a new custom exception reporting the error.
- Leave the member body empty.
- All Above
InvalidCastException is the recommended exception to throw.
Show Correct Answer
Source: MCTS Book | |
Alert Moderator