单项选择题

The children ______ many times not to go near the river.

A.were being told
B.have been told
C.had been told
D.told