A mis-assembly preventing structure is provided to a liquid container to
allow assembly of parts when the parts are assembled in an adequate
direction and to prevent the assembly of the parts when the part are
assembled in an inadequate direction. For example the structure can be
provided to a sensor unit (200) and a cartridge case (101), and can be
constructed by engagement hooks (267) and engagement concave portions
(110k) for receiving the engagement hooks (267).