Method IsCompatible
IsCompatible(Type, Type)
Determine if two types are compatible with each other (f.e. object with string, or enums with their underlying integer type).
public static bool IsCompatible(this Type type, Type other)
Parameters
Returns
- bool
- True if both types are compatible with each other, false otherwise.