Student or Learner
after prefer we can you both -ing and to plus infinitive. But what's the difference?
I prefer eating out to cooking myself.
Talking about a partucular situation, you use the to-infinitive after prefer:
A: Would you like me to take you into town in my car?
B: No, thanks. I prefer to walk.