I have a generic class in my project with derived classes.
public class GenericClass : GenericInterface { } public class Test : GenericCla
Type _type = myclass.GetType(); PropertyInfo[] _propertyInfos = _type.GetProperties(); Boolean _test = _propertyInfos[0].PropertyType.GetGenericTypeDefinition() == typeof(List<>);