单项选择题

I don't swim now, but I ______ when I was a kid.

A.used to it
B.used to doing it
C.used to
D.used to do