单项选择题

Hardly had she got into the classroom()the bell rang.

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