Drain the corn using a strainer to remove excess moisture.
Finely chop the onion and garlic.
Heat olive oil in a pan and sauté the onion and garlic.
Add the corn and rice, and stir-fry together.
Pour in the milk and chicken stock, then simmer over medium heat, stirring constantly.
Add the cheese and stir until melted.
Season with salt and pepper to taste.
Serve in a bowl and garnish with parsley.