单项选择题

They rushed into the hall ______ the door opened.

A.when
B.if
C.after
D.as soon as