单项选择题

Hardly had she got into the classroom ______ the bell rang.

A.that
B.when
C.then
D.so