单项选择题

According to the school regulations, anyone who takes a pet is prohibited ______ the classroom.

A. to go into

B. from going into
C. for going into

D. by not going into