What line is the error, and what is the specific text of the error? Also, where is the definition Products?
You probably get CS0060 : “Inconsistent availability: the base class“ class1 ”is less accessible than the class“ class2. ”Thus, I accept your Productsclass is not marked as public.
, public (internal, ), public.