Sweet corn is also called fruit corn. If it is sweet corn, it is usually cooked for 10- 15 minutes. If it is tender, you can cook it with your nails 10 minutes or so. If it is older, it can be cooked for a long time, generally not more than 20 minutes, otherwise the taste of corn will drop, and cooking in a pressure cooker for 5-8 minutes is enough.
Waxy corn is relatively difficult to cook. If it is not chewy, the taste will be greatly reduced. Therefore, white waxy corn should be cooked for a long time, generally more than 20 minutes after boiling. If steamed in a pressure cooker, it will take 10 minutes after SAIC. It doesn't matter if this kind of corn is cooked for a long time, as long as it is not dried, it will be fine.