Heat the oil in a heavy small frying pan over medium heat. Add the garlic and saute until tender and fragrant, about one minute. Remove the frying pan from the heat and cool.
Set aside two tablespoons of the Parmesan cheese and stir the rest into the garlic mixture, along with the parsley and salt.
Cook the corn in a large saucepan of boiling salted water until crisp-tender, about five minutes. Using tongs, transfer the corn to a platter. Brush the cheese mixture over the hot corn and serve.
Sprinkle the remaining 2 tablespoons of cheese on top of the corn.