Squigly Squigly's Brain Teasers

Question:

You throw away the outside and cook the inside. You eat the outside and throw away the inside. What did you eat?

Answer:

Corn on the cob.