If using fresh corn, remove the kernels from the cobs. You should have about 4 cups of corn kernels.
Blend the corn kernels with 1 cup of water until smooth. If using frozen corn, simply blend it until smooth.
In a large pot, combine the blended corn mixture with the remaining 1 cup of water and the milk. Stir to combine.
Stir in the sugar and salt. Cook the mixture over medium heat, stirring frequently, until it starts to heat up and thicken slightly.
In a small bowl, mix the cornstarch with a few tablespoons of cold water to make a slurry.
Gradually stir the cornstarch slurry into the corn mixture. Continue cooking and stirring until the mixture thickens to a pudding-like consistency. This should take about 5-10 minutes.
If desired, stir in the vanilla extract for added flavor.
Remove from heat and let cool slightly before serving.
Enjoy your meal!