单项选择题

We were watching TV together ______ a stranger came in.

[A] while
[B] when
[C] that
[D] where