Mix together creamed corn, whole kernel corn, and uncooked macaroni. Slice the butter or margarine, and mix into the corn mixture along with the cheese. Place in a buttered casserole dish. Cover.
Bake at 350 degrees F (175 degrees C) for 30 minutes. Uncover, stir, and bake uncovered for 30 more minutes.