单项选择题

It ______ for two hours and the ground is too wet to play on, so the match has been put off.

A.has been raining
B.was raining
C.had been raining
D.has rained