In a medium saucepan over medium heat, melt the butter. Stir in the flour and cook for about 1 minute until the mixture is combined.
Slowly whisk in the half-and-half along with the sugar, salt, black pepper, and cayenne pepper. Let the mixture simmer for about 5 minutes until it thickens.
Stir in the corn kernels and cook for 5 to 8 minutes until they are tender yet still have a slight crunch.
Remove the pan from heat and stir in the Parmesan cheese until it is fully melted.
Taste and adjust seasonings and sweetness if needed. Garnish with fresh parsley when serving.