Preheat oven to 300 degrees.
Layer 2 cups cheese in the bottom of a lightly greased 12x8x2 inch baking dish.
Layer chiles and corn. Top with remaining cheese.
Pour beaten eggs over layers.
Bake for 45 minutes or until the center is firm.
Cut into appetizer sized squares and serve.