Search notes:

System.InvalidCastException (class)

A System.InvalidCastException is thrown if the cast operator cannot perform the requested cast.
System.InvalidCastException derives from System.SystemException

Index