Good staff ...
I'm doing a program in which I have a class (pharmacies) in which it has a list of medications (List <Medications>), but the medications class has 3 sub ...
When I insert an object in the list, everything works fine .... insert such an object from a subclass (Tablets c=new Tablets() / / Pharmacy. Add (c )... but when I access the data of the list, I can not get the attributes of the underclass ... I have a function in pharmacies that returns an object of the list, but the list abaut medications, only returns the attributes of the superclass ... ... anyone can help me. .. (I do not know if I explained well ...