IsAssignableFrom

IsAssignableFrom(Type, Type)

public static bool IsAssignableFrom(Type type, Type c) ;

Description

It is judged whether or not it is an assignable type.

Parameters

Parameter Name Description
type
c Type to be compared

Returns

Returns true if an instance of c can be assigned to an instance of type.