I have interface defs like below.
public interface IProvider
{
}
public interface IProviderList : BindingList<IProvider>
{
}
Not sure whygetting compilation error
Type 'BindingList<...>' in interface list is not an interface
Any ideas?
BindingList<T>
is not an interface, it's a class. IBindingList
is an interface. Perhaps you meant to use IBindingList
?
BindingList<T>
is a class. An interface (your IProviderList
) can not inherit from a class.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.