Boiling corn is one method to cook frozen corn or fresh corn on the cob. However, you should be careful of boiling before you grill because the corn will already be slightly cooked and require very little time on the grill.