Grilled corn in foil is the easiest way to cook corn on the cob: just wrap in aluminum foil, season, and let the grill do all the work. Ready in 30 minutes!
Preheat a grill to medium-high heat (375 to 450 degrees Fahrenheit).
Shuck the corn. Place each corn cob in a sheet of aluminum foil. Rub it with olive oil and sprinkle with salt and pepper. Top it with a few thin pats of butter (1/2 tablespoon in each packet). Seal foil around corn, sealing the edges at the top but not making it too tight. Poke a few small holes in each packet.
Place the packets on the grill grates and grill for 20 to 25 minutes, turning occasionally, until corn is bright yellow and cooked.