单项选择题

______ there was an epidemic approaching, Mr. smith ______ the invitation to visit that area.

A.If he knew, would have declined
B.If he had known, would decline
C.Had he known, would decline
D.Had he known, would have declined