单项选择题

______ in Wuhan for more than twenty years, I knew the city well.

A. Lived
B. Having lived
C. Living
D. Have been lived