I got some problem becouse i wanna give to generic interface a propertyInfo.Propertytype
and he shows error
Cannot resolve symbol 'propertyInfo'
the interface call
IListCombobox<propertyInfo.PropertyType>
the interface definition
public interface IListCombobox<T>
{
List<T> GetList();
}
Thx for answers.
PropertyType returns a Type object, so probably you need