单项选择题

()in Guangzhou for ten years, he knew the City very well.

A. Living
B. To live
C. Lived
D. Having lived