单项选择题

People appreciate () with him because he has a good sense of humor.

A. to work
B. to have worked
C. working
D. having worked