问题

You should have thanked her before she left.—I meant ________, but when I was leaving I couldn’t find her anywhere.
A:to do
B:to
C:doing
D:to have done
B:to
C:doing
D:to have done
正确答案是: