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