// The Structure of the Container and the items public interface IContainer where TItem : IItem { } public class AContainer : IContainer
If you want to use AContainer to be an IContainer, you need to implement this interface as well:
AContainer
IContainer
public class AContainer : IContainer, IContainer
You may implement it explicitly.