单项选择题

While being questioned on the court, the man denied ______ the old lady's necklace.

[A] having taken
[B] taking
[C] to have taken
[D] to take