单项选择题

At first he didn’t mean () part, but he couldn’t resist () a try.

A. to take, having
B. taking, to have
C. to take, to have
D. taking, having