单项选择题

______ among the peasants for many years, he knew them very well.

A.Working
B.Having worked
C.To worked
D.Being worked