Melt the butter in a medium saucepan over medium heat. Stir in the flour and cook until bubbly, about 1 minute. Gradually whisk in the cream and milk. Cook, stirring constantly, until the sauce thickens and bubbles. Decrease the heat to low and add the sugar, salt, and pepper. Mix in the corn.