[]
Determines whether fromType can be assigned to toType.
public static bool IsAssignableFrom(Type toType, Type fromType)
To type.
From type.
true if [is assignable from] [the specified to type]; otherwise, false.
true
false