If using fresh corn, grill or boil until tender. Cut off the kernels.
In a large bowl, mix corn with mayonnaise, lime juice, garlic, chili powder, salt, and pepper.
Add cotija cheese, cilantro, and red onion (if using).
Gently fold in avocado (if using).
Adjust seasoning and lime juice to taste.
Serve chilled or at room temperature.
Notes
Grill the corn for a smoky flavor.
• Use fresh lime juice for the best taste.
• Balance the creaminess and acidity according to preference.
• Crumble the cheese finely for even distribution.
• Add chili gradually to manage the heat.