Gather all ingredients.
Combine corn, heavy cream, sugar, butter, salt, and black pepper in a skillet over medium heat. Cook, stirring occasionally, until butter melts, 3 to 5 minutes.
Meanwhile, whisk milk and flour together in a small bowl until smooth.
Whisk in milk mixture; cook, stirring constantly, until thickened and corn is heated through, about 4 minutes.
Remove from heat and stir in Parmesan cheese until melted. Serve hot.
