Preheat the oven to 400 F. Generously butter a 2-quart casserole dish or similar size baking dish. Alternately, spray with non-stick cooking spray.
Melt the butter and set aside to cool. .
Into a large bowl, crack the eggs and whisk until frothy. Whisk in the cooled melted butter, sugar, vanilla and nutmeg until blended.
Into a measuring cup, pour the heavy cream. Add the cornstarch and whisk or stir with a fork until no lumps remain. Pour into the egg mixture and whisk to combine. Gently stir in the whole kernel corn and the cream corn until incorporated.
Pour the corn mixture into the prepared baking dish. Place the dish on a rimmed baking sheet and transfer to the center rack of the oven.
Bake 1 hour until the top is golden brown and the center is slightly firm when gently pressed. Cool on a wire rack. Serve warm or at room temperature
Chef Tips
Half and half, whole or 2% milk can be substituted for the heavy cream. If substituting, also add additional 1 TBSP cornstarch.