IF I HAD REMEMBERED ________ THE WINDOW, THE THIEF WOULD NOT HAVE...

20. If I had remembered ________ the window, the thief would not have got in.

A. to close B. closing C. to have closed D. having closed