Preheat oven to 350°F (175°C). Grease an 8x8-inch baking dish.
In a medium saucepan, melt butter over medium heat. Add flour and whisk until combined. Slowly whisk in milk and cook, stirring frequently, until the sauce thickens, about 5 minutes.
Remove from heat and stir in cheese until melted. Season with salt and pepper.
In a large bowl, combine the sauce with the corn. Pour into the prepared baking dish.
Sprinkle the crushed corn flakes over the top of the casserole.
Bake for 25-30 minutes, or until golden brown and bubbly.
Interesting Facts
This dish can be served as a side dish or as a main dish.
This dish can be made ahead of time and reheated for an easy meal.
This dish can be easily customized with other ingredients such as chopped vegetables, canned beans, etc.