单项选择题

The sun had hardly risen ______ the fog began to disappear.
A) as C) while
B) till D) when